Deleting ports distfiles

Warren Block wblock at
Mon Nov 17 18:02:55 UTC 2014

On Mon, 17 Nov 2014, RW wrote:

> portupgrade's portsclean utility and distviper (from
> sysutils/bsdadminscripts) can do it more flexibly.
> portmaster removes any files not associated with currently installed
> packages, the other two do can do that, but also have the option to
> leave any files that are still up-to-date with respect to the ports
> tree.

Actually, portmaster can do that also:
portmaster -t -y --clean-distfiles

More information about the freebsd-ports mailing list