ports installation location
Vizion
vizion at vizion.occoxmail.com
Thu Mar 29 15:48:12 UTC 2007
> -----Original Message-----
> From: owner-freebsd-ports at freebsd.org
> [mailto:owner-freebsd-ports at freebsd.org] On Behalf Of Garrett Cooper
> Sent: Thursday, March 29, 2007 8:21 AM
> To: freebsd-ports at 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
More information about the freebsd-ports
mailing list