Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 05:50:34 -0700 (PDT)
From:      Jeffrey Bouquet <jeffreybouquet@yahoo.com>
To:        mexas@bristol.ac.uk, freebsd-ports@freebsd.org
Subject:   Re: pkgclean target? by analogy with distclean
Message-ID:  <1351687834.69392.YahooMailClassic@web164004.mail.gq1.yahoo.com>
In-Reply-To: <201210311038.q9VAcQMK099990@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


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

> From: Anton Shterenlikht <mexas@bristol.ac.uk>
> Subject: pkgclean target? by analogy with distclean
> To: freebsd-ports@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@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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 ) 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1351687834.69392.YahooMailClassic>