Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 08:39:54 -0400
From:      Wesley Shields <wxs@atarininja.org>
To:        Vizion <vizion@vizion.occoxmail.com>
Cc:        ports@freebsd.org
Subject:   Re: joomla ports - installation- multiple virtual hosts
Message-ID:  <20070330123954.GA41638@atarininja.org>
In-Reply-To: <20070330113325.DDHO12099.dukecmmtao03.coxmail.com@dukecmmtao03>
References:  <20070330113325.DDHO12099.dukecmmtao03.coxmail.com@dukecmmtao03>

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



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