From owner-freebsd-ports@FreeBSD.ORG Thu Oct 13 19:45:13 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 F191016A41F for ; Thu, 13 Oct 2005 19:45:13 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A23643D45 for ; Thu, 13 Oct 2005 19:45:13 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id B95D15F85; Thu, 13 Oct 2005 15:45:12 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37285-07; Thu, 13 Oct 2005 15:45:03 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-76-130.ny325.east.verizon.net [68.161.76.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 1414A5F52; Thu, 13 Oct 2005 15:45:02 -0400 (EDT) Message-ID: <434EB940.7020605@mac.com> Date: Thu, 13 Oct 2005 15:45:04 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vizion References: <200510131225.10506.vizion@vizion.occoxmail.com> In-Reply-To: <200510131225.10506.vizion@vizion.occoxmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.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 19:45:14 -0000 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