Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 8:48:10 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        <ports@freebsd.org>
Cc:        youshi10@u.washington.edu
Subject:   Re: ports installation location
Message-ID:  <20070329154810.GVME12099.dukecmmtao03.coxmail.com@dukecmmtao03>

next in thread | raw e-mail | index | archive | help
 

> -----Original Message-----
> From: owner-freebsd-ports@freebsd.org 
> [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Garrett Cooper
> Sent: Thursday, March 29, 2007 8:21 AM
> To: freebsd-ports@freebsd.org
> Subject: Re: ports installation location
> 
> Vizion wrote:
> > How does one specify a non-standard location for installing a port?
> > 
> > For example I want to have multiple instances of www/joomla 
> installed for multiple virtual hosts. How can I best go about this? 
> > 
> > How about upgrades?
> > david
> 
> Can't do that with ports (unless you make your own ports 
> files), but you
> can do it with ./configure --prefix, and then add some 
> 'version tagging'
> of your own if you like, i.e. joomla directory => 
> joomla-x.y.z,_r, etc.
> 
> It ultimately requires more work on your end though..
> -Garrett
Thanks Garret -- you are always so helpful.

I see the principle you are driving at.. but am not quite up to understanding how to go about it. To be honest I am struggling to get my head around the port makefiles and their syntax!! It looks as though it should be easy -- but I seem to make progress far too slowly!!

Am I right in assuming you are suggesting that modify the Makefile so that I would be able to:
# make ./configure --/my/path/A  --/my/path/B etc

and that would mean adding lines to the makefile to fulfill my ./configure --[path] --[path]

If that is what you mean - would you have the time to  give me an example I can work from?

If you have it would be great -- if not that is fine too

Thanks again

David







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070329154810.GVME12099.dukecmmtao03.coxmail.com>