Hi Linc,

I don't know any such tool in macports but I'd be curious to know if one exists.

If you want to clean the archive of an old port you have to specify its version and variants.
In my last batch of cleaning:
$ sudo port -v clean --all gmake @3.81_0
You might want to use --archive instead of --all but I also don't want too much clutter in the distfiles directory.

If gmake had variants you would write something like:
$ sudo port -v clean --all gmake @3.81_0+variant1+variant2

Some variants like macosx, darwin* don't need to be specified.

Anyway I wrote a script which helps me keeping the archive folder clean.

Regards,
André

Le 8 sept. 10 à 06:41, Linc Davis a écrit :


Does anyone know of a way to automatically delete outdated archives of ports that aren't necessarily installed? I archive and uninstall the unrequested build dependencies of my requested ports after each update session. When those dependencies are updated, I end up with archives of the previous versions that have to be removed manually. I've tried things like 'port clean --archive ...' but I don't see any way to specify that archives of versions other than the current one are to be deleted. 'port clean --archive outdated' doesn't work because it misses uninstalled ports. Thanks for suggestions.
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to