From owner-freebsd-ports@FreeBSD.ORG Thu Oct 13 20:26:43 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EEF616A41F for ; Thu, 13 Oct 2005 20:26:43 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao01.coxmail.com (dukecmmtao01.coxmail.com [68.99.120.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 885C943D62 for ; Thu, 13 Oct 2005 20:26:40 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by dukecmmtao01.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051013202648.HMSI11726.dukecmmtao01.coxmail.com@dns1>; Thu, 13 Oct 2005 16:26:48 -0400 From: Vizion To: Chuck Swiger Date: Thu, 13 Oct 2005 13:21:59 -0700 User-Agent: KMail/1.8 References: <200510131225.10506.vizion@vizion.occoxmail.com> <434EB940.7020605@mac.com> In-Reply-To: <434EB940.7020605@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510131322.00062.vizion@vizion.occoxmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Mambo -- install dir X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 20:26:43 -0000 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.