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

next in thread | previous in thread | raw e-mail | index | archive | help
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




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