Date: Thu, 18 Sep 1997 10:33:45 PDT From: Bill Fenner <fenner@parc.xerox.com> To: Warner Losh <imp@harmony.village.org> Cc: ports@freebsd.org Subject: Re: Obsolete distfiles purging Message-ID: <97Sep18.103354pdt.177486@crevenia.parc.xerox.com> In-Reply-To: Your message of "Wed, 17 Sep 97 15:14:57 PDT." <199709172214.QAA13487@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@harmony.village.org> wrote: >Does anybody have a good way to purge older, obsolete distfiles in >/usr/ports/distfiles tree? I have an addition to bsd.port.mk which will list out all of the currently-used distfiles - don't have a good way to delete all of the files not on that list, though. Bill .if defined(DIST_SUBDIR) BILLDISTSUBDIR= ${DIST_SUBDIR}/ .endif PORTNAME= ${DIRPRFX:S-/$--} bill-distfiles: @(for file in ${DISTFILES} ${PATCHFILES}; do \ echo F ${PORTNAME} ${BILLDISTSUBDIR}$${file}; \ done) .if defined(BROKEN) @echo B ${PORTNAME} "${BROKEN}" .endif .if defined(RESTRICTED) @echo R ${PORTNAME} "${RESTRICTED}" .endif .if defined(NO_CDROM) @echo N ${PORTNAME} "${NO_CDROM}" .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97Sep18.103354pdt.177486>