From owner-freebsd-ports@FreeBSD.ORG Tue May 9 14:59:02 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 DED3216A411 for ; Tue, 9 May 2006 14:59:02 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 069A743D53 for ; Tue, 9 May 2006 14:58:59 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id e2so1646383ugf for ; Tue, 09 May 2006 07:58:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=LRJibX8mshX2nqyzMZGp32H3UuWf+VuOCP5UYXEcahx8TZkJwbtUoW0IQWFw0MMYv43jhcmWb238n7NyGQFS+mofVCEtcdsE1hgP+xVVk0J/56Qw6W8ZDQ3mzgzdceQM7mtEsPD3/arpYfQmFB/AfZ3J4dj96dMO5t0gYG83zbc= Received: by 10.78.42.7 with SMTP id p7mr798308hup; Tue, 09 May 2006 07:31:33 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.119.140]) by mx.gmail.com with ESMTP id 39sm841463hug.2006.05.09.07.31.32; Tue, 09 May 2006 07:31:33 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k49EVOpZ002422; Tue, 9 May 2006 16:31:24 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k49EVM9j002421; Tue, 9 May 2006 16:31:22 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 9 May 2006 16:31:21 +0200 From: Ulrich Spoerlein To: Florent Thoumie Message-ID: <20060509143121.GC2068@roadrunner.aventurien.local> Mail-Followup-To: Florent Thoumie , freebsd-ports@freebsd.org References: <20060508200926.GA6005@daemons.gr> <20060509061026.GA14039@pentarou.parodius.com> <20060509111435.GA1228@roadrunner.aventurien.local> <1147183253.4810.38.camel@mayday.esat.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tMbDGjvJuJijemkf" Content-Disposition: inline In-Reply-To: <1147183253.4810.38.camel@mayday.esat.net> Cc: freebsd-ports@freebsd.org 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:59:06 -0000 --tMbDGjvJuJijemkf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Florent Thoumie wrote: > On Tue, 2006-05-09 at 13:14 +0200, Ulrich Spoerlein wrote: > > .if ${.CURDIR:M*/audio/amarok} > > WITH_XINE=3D true > > #... > > .endif >=20 > I think you guys aren't lazy enough. >=20 > - Put http://people.freebsd.org/~flz/local/mkconf somewhere in ${PATH}. > - Add the following to /etc/make.conf: >=20 > =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 >=20 > - Create a /etc/ports.conf file with lines like: > www/apache20: WITH_FOO=3Dyes WITH_BAR=3Dno Ach, you gotta love those evil twisted .for-loops in make. Who came up with the unroll-first-parse-later strategy? Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --tMbDGjvJuJijemkf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEYKe5524iJyD+6d0RAgEFAJ0d5YUoR6R9JDzx6daEAJ28fpryLwCeO5TU L1LKXPQCjiNjZQsCr/8mbvw= =scon -----END PGP SIGNATURE----- --tMbDGjvJuJijemkf--