Date: Tue, 16 Dec 2008 20:17:22 -0500 From: Steve Bertrand <steve@ibctech.ca> To: Tom Worster <fsb@thefsb.org> Cc: freebsd-questions@freebsd.org Subject: Re: lang/php5 port Message-ID: <49485322.4010401@ibctech.ca> In-Reply-To: <C56DB0C4.6B14%fsb@thefsb.org> References: <C56DB0C4.6B14%fsb@thefsb.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Tom Worster wrote: > is there any documentation or a helpful website for how to use ports to > install php5? > > i'm used to compiling it with a pretty long configuration command for all > the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom > --with-pear --with-gd etc. etc. on and on. > > i'm unclear how these options are handled in freebsd ports. is it a matter > of identifying lots of individual ports, one for each of the configuration > command options i'd normally use? >From what I can tell (and how I normally do it) is simply put your familiar command line compile args in the Makefile within the ports tree. If you follow the flow of the existing Makefile, it should become clear as to how to add your custom args. Simply: # cd /usr/ports/lang/php5 # ee (or if you please 'vi') Makefile # make install [clean] ...any problems, report back. Ironically, I just did this type of PHP install today. Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49485322.4010401>