From owner-freebsd-ports Sat May 1 5:37:31 1999 Delivered-To: freebsd-ports@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id B9B9814BD3 for ; Sat, 1 May 1999 05:37:20 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 61517 invoked by uid 1003); 1 May 1999 14:38:27 -0000 Date: Sat, 1 May 1999 14:38:27 +0000 From: Neil Blakey-Milner To: Keith Jang Cc: ports@FreeBSD.ORG Subject: Re: Usefull script to clean /usr/ports/distfiles. Testers neded Message-ID: <19990501143827.B42561@rucus.ru.ac.za> References: <37241D4B.C9DC6FD2@altavista.net> <19990426105508.A30028@rucus.ru.ac.za> <37242D15.77938D17@altavista.net> <19990429120329.A82884@rucus.ru.ac.za> <372862CA.B089EED3@altavista.net> <19990501104125.A15602@keith.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990501104125.A15602@keith.home>; from Keith Jang on Sat, May 01, 1999 at 10:41:25AM +0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat 1999-05-01 (10:41), Keith Jang wrote: > It's quite handy. However, it also needs provision for "IGNORE" distfiles, > for example: > > chinese/CJK (CJK.tar.gz) > print/dvi2tty (dvi2tty.tar.gz) > xc/XFree86 (Wraphelp.c) The only way I can think of this being implemented somewhat efficient manner is if you maintain a list of files separately that you'd like to ignore - expecting the script to grok Makefiles to find IGNORE would take ages. Maybe it could 'make -V IGNORE' on each port - but then how would it know if the IGNORE was hidden in a ".if defined" that you used to install the port that isn't in /etc/make.conf? I'll add ability to accept a file that lists files that shouldn't be deleted. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message