ports cleaning script

Oliver Lehmann lehmann at ans-netz.de
Sun Jan 22 21:12:28 PST 2006

randall ehren wrote:

> hi -
>   a few years ago i wrote a small perl script to cleanup all ports that 
> had a 'work' directory, aka a 'make clean'. it's quite simple, but i 
> haven't found anything that does a similar thing.

just set WRKDIRPREFIX in your /etc/make.conf to (for example) /usr/obj and
do rm -rf /usr/obj/usr/ports to clean things up.

 Oliver Lehmann

More information about the freebsd-ports mailing list