From owner-freebsd-ports@FreeBSD.ORG Tue May 9 14:01:13 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 720E016A40E for ; Tue, 9 May 2006 14:01:13 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC6A43D45 for ; Tue, 9 May 2006 14:01:12 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 6B15511672; Tue, 9 May 2006 16:01:11 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80309-08; Tue, 9 May 2006 16:00:55 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id E252E1165C; Tue, 9 May 2006 16:00:54 +0200 (CEST) From: Florent Thoumie To: Ulrich Spoerlein In-Reply-To: <20060509111435.GA1228@roadrunner.aventurien.local> References: <20060508200926.GA6005@daemons.gr> <20060509061026.GA14039@pentarou.parodius.com> <20060509111435.GA1228@roadrunner.aventurien.local> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-A0UODfUKCs1TVyyuyJEd" Date: Tue, 09 May 2006 15:00:53 +0100 Message-Id: <1147183253.4810.38.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: Sideris Michael , freebsd-ports@freebsd.org, Jeremy Chadwick Subject: Re: ports structure and improvement suggestions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 14:01:14 -0000 --=-A0UODfUKCs1TVyyuyJEd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-05-09 at 13:14 +0200, Ulrich Spoerlein wrote: > You can already do this with make(1)-magic in /etc/make.conf. This is > also guaranteed to work, whereas the pkgtools.conf approach is flawed. >=20 >=20 > .if ${.CURDIR:M*/audio/amarok} > WITH_XINE=3D true > #... > .endif I think you guys aren't lazy enough. - Put http://people.freebsd.org/~flz/local/mkconf somewhere in ${PATH}. - Add the following to /etc/make.conf: =3D=3D=3D snip =3D=3D=3D .if ${.CURDIR:N/usr/ports/*}=3D=3D"" _MKCONF!=3Dmkconf .for i in ${_MKCONF} ${i} .endfor .endif =3D=3D=3D snip =3D=3D=3D - Create a /etc/ports.conf file with lines like: www/apache20: WITH_FOO=3Dyes WITH_BAR=3Dno Note: I think it should work with wildcards. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-A0UODfUKCs1TVyyuyJEd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEYKCVMxEkbVFH3PQRAhfyAJ9HllHPzha4Xpynym6Mcr0RsAsiDACghydK 4ZWQyEFMjXbNhRKrJP3zcJ8= =uLW2 -----END PGP SIGNATURE----- --=-A0UODfUKCs1TVyyuyJEd--