On Fri, Oct 08, 2010 at 10:09:05PM +0100, Stuart Henderson wrote: > On 2010/10/08 18:15, viq wrote: > > I was thinking myself of a script that would delete all existing built > > packages of what is listed by out-of-date, but did not look at that yet. > > viq, make SUBDIRLIST=/tmp/outofdate clean=package (or clean=all) would > probably do the trick for you here.
From a glance at bsd.port.mk it does not seem to clean the older versions of the package (say, 1.1.13 will remain when the ports tree was updated to 1.2.3). I was pondering maybe some way to figure out base package names, and then strip the version number, or delete packages older than something, or play some games with sqlports, or maybe yet something else ;) -- viq
pgpWlGJiQhJ65.pgp
Description: PGP signature
