After switching to portmaster, portsclean is the last part of portupgrade I'm using.

portsclean -C can be replaced with 'rm /usr/ports/*/*/work', or better with 'find -X /usr/ports/ -name work -depth 3 -exec rm -rf {} \;'.
I don't see a way to do this with portmaster, but it's trivial.

portsclean -D can be replaced with 'portmaster -t --clean-distfiles'. portsclean -DD can be replaced with 'portmaster --clean-distfiles'. (Those might be backwards, the wording in the portmaster man page is a little ambiguous.)

Is there an equivalent for portsclean -L, to delete "old, duplicated, or orphaned shared libraries" in a batch?
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to