pkgclean target? by analogy with distclean

Jeffrey Bouquet jeffreybouquet at yahoo.com
Wed Oct 31 12:50:36 UTC 2012



--- On Wed, 10/31/12, Anton Shterenlikht <mexas at bristol.ac.uk> wrote:

> From: Anton Shterenlikht <mexas at bristol.ac.uk>
> Subject: pkgclean target? by analogy with distclean
> To: freebsd-ports at freebsd.org
> Date: Wednesday, October 31, 2012, 3:38 AM
> Is there a target similar to
> distclean
> that removes the package and the symlinks from
> ${PORTSDIR}/packages?
> If not, is it worthwhile making it?
> Something like pkgclean, or maybe
> rmpackage, similar to "make package".
> 
> Anton
> _______________________________________________
> freebsd-ports at freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 
After copying .tbz out of /usr/ports/packages/All (If I leave
them there, sometimes they disappear... so that is a 
workaround...) to answer the question with an answer that
is only a workaround,

cd /usr/ports/packages
cleanlinks .

Is easy to remember (cd /usr/ports/packages/All && touch cleanlinks_from_packages.todo ) 



More information about the freebsd-ports mailing list