From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 01:17:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E48C31065670 for ; Wed, 17 Dec 2008 01:17:28 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 7DDF38FC16 for ; Wed, 17 Dec 2008 01:17:28 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 26379 invoked by uid 89); 17 Dec 2008 01:27:24 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 17 Dec 2008 01:27:24 -0000 Message-ID: <49485322.4010401@ibctech.ca> Date: Tue, 16 Dec 2008 20:17:22 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tom Worster References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: lang/php5 port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 01:17:29 -0000 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