not installing under PREFIX
Alexander Leidinger
Alexander at Leidinger.net
Tue Jul 15 12:56:38 PDT 2003
On Tue, 15 Jul 2003 07:44:58 -0700
Brooks Davis <brooks at 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
More information about the freebsd-ports
mailing list