Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 21:56:24 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: not installing under PREFIX
Message-ID:  <20030715215624.59e1e1ff.Alexander@Leidinger.net>
In-Reply-To: <20030715144458.GA10979@Odin.AC.HMC.Edu>
References:  <20030714201655.GA880@Odin.AC.HMC.Edu> <20030715112430.39e9a64c.Alexander@Leidinger.net> <20030715144458.GA10979@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jul 2003 07:44:58 -0700
Brooks Davis <brooks@one-eyed-alien.net> wrote:

> > > 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
> > 
> > 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.

Yes, so why not sub the "sge" part above? If someone wants a non
standard location, he/she has to set PREFIX _and_ "SGEBASE", the result
will end up in '$PREFIX/$SGEBASE'.

Bye,
Alexander.

-- 
     The three Rs of Microsoft support: Retry, Reboot, Reinstall.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030715215624.59e1e1ff.Alexander>