[32476] trunk/dports/www/php4/Portfile

jwa at macports.org jwa at macports.org
Thu Jan 3 22:55:16 PST 2008


Revision: 32476
          http://trac.macosforge.org/projects/macports/changeset/32476
Author:   jwa at macports.org
Date:     2008-01-03 22:55:14 -0800 (Thu, 03 Jan 2008)

Log Message:
-----------
version bump to 4.4.8, add md5 and rmd160 checksums, clean for lint

Modified Paths:
--------------
    trunk/dports/www/php4/Portfile

Modified: trunk/dports/www/php4/Portfile
===================================================================
--- trunk/dports/www/php4/Portfile	2008-01-03 21:03:03 UTC (rev 32475)
+++ trunk/dports/www/php4/Portfile	2008-01-04 06:55:14 UTC (rev 32476)
@@ -1,16 +1,17 @@
 # $Id$
 
 PortSystem 1.0
+
 name            php4
-version         4.4.7
+version         4.4.8
 
-categories      lang php www
+categories      www php lang
 maintainers    	jwa
 homepage        http://www.php.net/
 description     PHP: Hypertext Preprocessor
 long_description 	PHP is a widely-used general-purpose scripting \
     language that is especially suited for Web development \
-    and can be embedded into HTML. 
+    and can be embedded into HTML.
 platforms	darwin freebsd
 
 master_sites 	${homepage}distributions/:release \
@@ -22,12 +23,14 @@
     http://es.php.net/distributions/:release \
     http://se.php.net/distributions/:release \
     http://downloads.php.net/ilia/:rc \
-    http://downloads.php.net/jani/:rc 
+    http://downloads.php.net/jani/:rc
 
 distfiles	php-${version}.tar.bz2:release
 worksrcdir	php-${version}
 use_bzip2	yes
-checksums	sha1 a6e2d6b5c5aa4e82a718563dc8dbb4b83fc91b78
+checksums	md5 ed31e77414e0331e787487b53732dbca \
+    sha1 fca6259fd3e8e3a7a37343e9a81651f5b6d4835c \
+    rmd160 dedf4a1a853b19bd3fb91a6028a256facb2d3224
 
 depends_lib	port:libiconv \
     port:expat  \
@@ -75,7 +78,7 @@
     configure.args-append	--with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr
 }
 
-variant apache conflicts apache2 apache20 {
+variant apache conflicts apache2 apache20 description {for Apple Apache} {
     if { ! [variant_isset macosx] } {
 	depends_lib-append	port:apache
 	configure.args-append 	--with-apxs=${prefix}/sbin/apxs
@@ -85,31 +88,31 @@
     }
 }
 
-variant apache2 conflicts apache apache20 {
+variant apache2 conflicts apache apache20 description {for current Apache} {
     destroot.violate_mtree yes
     depends_lib-append	port:apache2
     configure.args-append 	--with-apxs2=${prefix}/apache2/bin/apxs
 }
 
-variant apache20 conflicts apache apache2 {
+variant apache20 conflicts apache apache2 description {for Apache 2.0.59} {
     destroot.violate_mtree yes
     depends_lib-append	port:apache20
     configure.args-append 	--with-apxs2=${prefix}/apache20/bin/apxs
 }
 
-variant crypt {
+variant crypt description {interface to mcrypt library} {
     depends_lib-append	port:mhash port:libmcrypt
     configure.args-append	--with-mhash=${prefix} --with-mcrypt=${prefix}
-}	
+}
 
-variant curl {
+variant curl description {connect to servers using different protocols} {
     depends_lib-append	port:curl
     configure.args-append	--with-curl=${prefix}
 }
 
-variant gd {
+variant gd description {add the ability to create and manipulate images} {
     depends_lib-append	port:jpeg port:libpng port:freetype
-    
+
     configure.args-append	--with-gd \
 	--with-jpeg-dir=${prefix} \
 	--with-png-dir=${prefix} \
@@ -117,18 +120,18 @@
 	--with-freetype-dir=${prefix}
 }
 
-variant mysql3 conflicts mysql4 mysql5 {
+variant mysql3 conflicts mysql4 mysql5 description {MySQL 3 functions} {
     depends_lib-append	port:mysql3
     configure.args-append	--with-mysql=${prefix}
 }
 
-variant mysql4 conflicts mysql3 mysql5 {
+variant mysql4 conflicts mysql3 mysql5 description {MySQL 4 functions} {
     depends_lib-append	port:mysql4
     configure.args-append	--with-mysql=${prefix}
 }
 
 
-variant mysql5 conflicts mysql3 mysql4 {
+variant mysql5 conflicts mysql3 mysql4 description {MySQL 5 functions} {
     depends_lib-append      port:mysql5
     configure.args-delete   --without-mysql
     configure.args-append   --with-mysql=${workpath}/mysql5
@@ -143,7 +146,7 @@
     }
 }
 
-variant postgresql8 {
+variant postgresql8 description {add support for PostgreSQL databases} {
     pre-configure {
 	file mkdir ${workpath}/pgsql8
 	system "cd ${workpath}/pgsql8 && \
@@ -155,18 +158,18 @@
     configure.args-append	--with-pgsql=${workpath}/pgsql8
 }
 
-variant ldap {
+variant ldap description {enable LDAP support} {
     depends_lib-append	port:openldap
     configure.args-append --with-ldap=${prefix}
 }
 
-variant imap {
+variant imap description {enable operatin with IMAP protocol} {
     depends_lib-append		port:cclient
     configure.cppflags-append	-I${prefix}/include/c-client
     configure.args-append 	--with-imap=${prefix} --with-imap-ssl=/usr
 }
 
-variant xslt {
+variant xslt description {a processor independent API to XSLT transformations} {
     depends_lib-append	port:sablotron
     configure.args-append	--enable-xslt --with-xslt-sablot=${prefix} --with-iconv-dir=${prefix}
 }
@@ -224,7 +227,7 @@
 
     #nuke pear-stuff in ${destroot}
     system "cd ${destroot} && rm -rf .channels .depdb .depdblock .filemap .lock"
-    
+
     system "if \[ -f ${prefix}/lib/php4/.depdblock \]; then rm -f ${destroot}${prefix}/lib/php4/.depdblock; fi"
     system "if \[ -f ${prefix}/lib/php4/.depdb \]; then rm -f ${destroot}${prefix}/lib/php4/.depdb; fi"
     system "if \[ -f ${prefix}/lib/php4/.filemap \]; then rm -f ${destroot}${prefix}/lib/php4/.filemap; fi"
@@ -234,10 +237,10 @@
 
 post-install {
     ui_msg "\nIf this is your first install, you might want"
-    
+
     if { [variant_isset apache] } {
 	ui_msg " * enable php in apache :\n"
-	
+
 	ui_msg "cd ${prefix}/libexec/apache"
 	ui_msg "${prefix}/apache/bin/apxs -a -e -n \"php4\" libphp4.so\n"
 	ui_msg "* copy  ${prefix}/etc/php.ini-dist to  ${prefix}/etc/php.ini"
@@ -255,7 +258,7 @@
 	ui_msg "* copy  ${prefix}/etc/php.ini-dist to  ${prefix}/etc/php.ini"
     }
 
-    ui_msg "* copy  ${prefix}/etc/php4/pear.conf.sample to  ${prefix}/etc/php4/pear.conf" 
+    ui_msg "* copy  ${prefix}/etc/php4/pear.conf.sample to  ${prefix}/etc/php4/pear.conf"
 }
 
 livecheck.check     regex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080103/fa634203/attachment.html


More information about the macports-changes mailing list