Mambo -- install dir

Chuck Swiger cswiger at mac.com
Thu Oct 13 12:45:14 PDT 2005


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.

-- 
-Chuck



More information about the freebsd-ports mailing list