From owner-freebsd-ports@FreeBSD.ORG Fri Mar 30 12:39:37 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2244716A401 for ; Fri, 30 Mar 2007 12:39:37 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id F3EF813C448 for ; Fri, 30 Mar 2007 12:39:36 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 51A405C58; Fri, 30 Mar 2007 08:39:54 -0400 (EDT) Date: Fri, 30 Mar 2007 08:39:54 -0400 From: Wesley Shields To: Vizion Message-ID: <20070330123954.GA41638@atarininja.org> References: <20070330113325.DDHO12099.dukecmmtao03.coxmail.com@dukecmmtao03> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070330113325.DDHO12099.dukecmmtao03.coxmail.com@dukecmmtao03> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: ports@freebsd.org Subject: Re: joomla ports - installation- multiple virtual hosts 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: Fri, 30 Mar 2007 12:39:37 -0000 On Fri, Mar 30, 2007 at 04:33:24AM -0700, Vizion wrote: [...] > > You don't want to use DESTDIR for this either (again, unless > > I'm missing > > something). What you want to do is to do what an earlier > > post suggested > > and re-work the port such that you can install it with a given PREFIX > > and have the pkg be recorded separately for that install. You'll want > > to tweak the pkg-plist and something which gets put into the pkg-name > > (PKGNAMESUFFIX as Scot suggested will work). This way the plist has > > recorded that it installed into your virtual host as opposed to it's > > normal location, and the package will have a different name from other > > joomla installs. > > > > Of course upgrading will be difficult if you go that route. > > > > Honestly, you're better off doing this in a slave port (or multiple > > slave ports if you want). > > > > -- WXS > Thanks very much. > > What do you mean by a slave port?? Take a look at editors/vim-lite as an example. It just sets a few things and includes the proper Makefile. -- WXS