From owner-freebsd-ports@FreeBSD.ORG Mon Jul 14 13:17:00 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 AB79537B405 for ; Mon, 14 Jul 2003 13:17:00 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3042943F93 for ; Mon, 14 Jul 2003 13:17: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 h6EKGuZJ002989 for ; Mon, 14 Jul 2003 13:16:56 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h6EKGtQE002988 for ports@freebsd.org; Mon, 14 Jul 2003 13:16:55 -0700 Date: Mon, 14 Jul 2003 13:16:55 -0700 From: Brooks Davis To: ports@freebsd.org Message-ID: <20030714201655.GA880@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: 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: Mon, 14 Jul 2003 20:17:01 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm working on a port of Sun Grid Engine and I've got a question about an odd installation issue. SGE is one of those poorly behaved applictions that insists on installing all of its files under a single directory which must be in the SGE_ROOT environmental variable 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 can't figure out how to have files live somewhere other then under PREFIX. I suppose I could do something hackish like make SGE_ROOT default to something ${PREFIX}/${SGE_ROOT_SUFFIX} and then let the user choose an arbitrary directory by setting PREFIX=3D/ and SGE_ROOT_SUFFIX to the absolute path. You can download a work-in-progress port from: http://people.freebsd.org/~brooks/sge/sge.tar.gz -- 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 --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/Ew+2XY6L6fI4GtQRAvf/AKCZ/b2i1p2wC4XpLx4KLg7xtykAdwCgtwtN P3RiMsx8tKU42K0JYegXljc= =POnx -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--