On Feb 23, 2016, at 1:43 PM, Mojca Miklavec wrote: > I often deactivate certain "heavy" ports where I want to play with > different versions or variants. Sometimes I deactivate clang 3.8 when > I don't feel like waiting for the long recompilation of the latest and > greatest new version (that will be outdated again in a few days > anyway) or when a newer version no longer works/compiles. Sometimes I > deactivate universal ports. Those are generally the ports I want to > keep for some time. > > But I would like to save space and uninstall other ports that I don't > particularly care about (which have been superseded by newer > versions). > > Is there any way to flag a certain set of inactive ports that I > specifically want to keep even after "sudo port uninstall inactive > [and somethingelse]"?
The way to flag a port as wanted is: sudo port setrequested name-of-port The way to flag a port as not wanted is: sudo port unsetrequested name-of-port Or: sudo port setunrequested name-of-port Then you can use the "requested" and "unrequested" pseudoports when selecting ports: sudo port uninstall inactive and unrequested This would apply to all variants and versions of a given port name, however. There is no provision for, for example, marking the non-universal version of a port requested while marking the universal version of that same port as unrequested. _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev