From owner-freebsd-ports@FreeBSD.ORG Sat May 1 17:10:24 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D107316A4CF for ; Sat, 1 May 2004 17:10:24 -0700 (PDT) Received: from fillmore.dyndns.org (port-212-202-49-130.reverse.qsc.de [212.202.49.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBEB143D39 for ; Sat, 1 May 2004 17:10:12 -0700 (PDT) (envelope-from eikemeier@fillmore-labs.com) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.32; FreeBSD) id 1BK4YZ-000Esc-Mp; Sun, 02 May 2004 02:10:12 +0200 Message-ID: <40943C5B.4040501@fillmore-labs.com> Date: Sun, 02 May 2004 02:10:03 +0200 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Aleksandar Simic References: <20040501235333.GA84676@yashin.myname.mydomain> In-Reply-To: <20040501235333.GA84676@yashin.myname.mydomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: ports@FreeBSD.org Subject: Re: Improving /usr/ports/Makefile ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 00:10:25 -0000 Aleksandar Simic wrote: > Hello, > > from time to time you see people asking on questions why is it that > their 'make index' is failing after they cvsup-ed all but excluded > some region specific ports directories, most commonly: > > arabic, chinese, hebrew, hungarian, japanese, korean, polish, > portuguese, russian, ukrainian, vietnamese > > Could a check be added to see if the above directories, or any other > 'undesirable' ones are non existant and if they are, that they should > be ignored ? > > Something like this: > > > *** /usr/ports/Makefile Sat May 1 14:20:36 2004 > --- /tmp/Makefile Sat May 1 09:27:44 2004 > *************** > *** 1,66 **** > --- 1,186 ---- > # $FreeBSD: ports/Makefile,v 1.82 2004/04/02 07:25:23 kris Exp $ > # > > + .if exists (${.CURDIR}/accessibility) > SUBDIR += accessibility > + .endif ... it's not that easy, because ports from one category need ports from another, so the INDEx generation fails anyway. I tested a script that calculated complete subsets, but they were not very useful. -Oliver