From owner-freebsd-ports@FreeBSD.ORG Tue Jul 15 07:45:01 2003 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 6A6DB37B401 for ; Tue, 15 Jul 2003 07:45:01 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4C6E43F85 for ; Tue, 15 Jul 2003 07:45:00 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id h6FEiwZJ011406; Tue, 15 Jul 2003 07:44:58 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h6FEiwCE011405; Tue, 15 Jul 2003 07:44:58 -0700 Date: Tue, 15 Jul 2003 07:44:58 -0700 From: Brooks Davis To: Alexander Leidinger Message-ID: <20030715144458.GA10979@Odin.AC.HMC.Edu> References: <20030714201655.GA880@Odin.AC.HMC.Edu> <20030715112430.39e9a64c.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <20030715112430.39e9a64c.Alexander@Leidinger.net> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-ports@freebsd.org Subject: Re: not installing under PREFIX 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: Tue, 15 Jul 2003 14:45:01 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 15, 2003 at 11:24:30AM +0200, Alexander Leidinger wrote: > On Mon, 14 Jul 2003 13:16:55 -0700 > Brooks Davis wrote: >=20 > > when it is run. My port currently installs with SGE_ROOT equal to > > ${PREFIX}/sge which should be fine for most people, but I'd like to > > support installation at an arbitrary location. Is there a reasionable > > way to do that? The only real issue seems to be with the plist. I >=20 > Use PLIST_SUB (it's used in many ports, so you should find enough > examples). I tried that, but I couldn't figure out what to sub. Unless I'm missing something, ${PREFIX} still gets prepended to lines containing absolute paths. > IMHO it isn't necessary to allow this, we have a lot of ports which > behave like this and don't offer this functionality (and so far: nobody > complained). I'm starting to lean in that direction. I was just hoping there was an easy way to provide this functionality. Thanks, Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/FBNpXY6L6fI4GtQRAuTYAJ9WDU5ToaFIBYEN6tDPeYFwjJobiwCgw2Fq qXhsvdejC6SnHNY7llyoY6c= =hfED -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--