Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2005 13:21:59 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Mambo -- install dir
Message-ID:  <200510131322.00062.vizion@vizion.occoxmail.com>
In-Reply-To: <434EB940.7020605@mac.com>
References:  <200510131225.10506.vizion@vizion.occoxmail.com> <434EB940.7020605@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 October 2005 12:45,  the author Chuck Swiger contributed to the 
dialogue on-
 Re: Mambo -- install dir: 

>Vizion wrote:
>> How can I configure install so that mambo is installed into the directory
>> of my choosing?
>>
>> By default mambo installs in /usr/local/www
>
>Change:
>
>MAMBO_DIR?=     www/${PORTNAME}
>
>...in the port's Makefile, and/or change ${PREFIX}.
>
>> The over generalization that the default path is the correct path for
>> installation seems to be a curse in the freebsd ports system which is a
>> virulent nuisance in the ports/www but, although a less frequent cause of
>> difficulty  in other parts of the ports system, it remains a frequent
>> cause of difficulty.
>
>Heh, you said something amusing about overgeneralizations.  :-)
>
>In general, changing $PREFIX as mentioned above, or by adding something
> like:
>
>CONFIGURE_ARGS+= --prefix=/foo/bar/server1
>
>...if the port uses GNU configure, will work for most ports.

Thanks 
OK where is PREFIX set originally -- is it a global or local variable?
are you saying the command should be 
make install CONFIGURE_ARGS+= --prefix=/foo/bar/server1
 
 -- I do wish this accumulated wisdom was in a file (port_mods.readme or 
something!!)

thanks again

david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.



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