[88402] users/ryandesign/ports/lang/php54/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Dec 30 15:52:42 PST 2011


Revision: 88402
          http://trac.macports.org/changeset/88402
Author:   ryandesign at macports.org
Date:     2011-12-30 15:52:42 -0800 (Fri, 30 Dec 2011)
Log Message:
-----------
php54: update to 5.4.0RC4, move headers and libraries to port-specific directories where they won't conflict with other phps' headers and libraries

Modified Paths:
--------------
    users/ryandesign/ports/lang/php54/Portfile

Modified: users/ryandesign/ports/lang/php54/Portfile
===================================================================
--- users/ryandesign/ports/lang/php54/Portfile	2011-12-30 23:48:01 UTC (rev 88401)
+++ users/ryandesign/ports/lang/php54/Portfile	2011-12-30 23:52:42 UTC (rev 88402)
@@ -6,7 +6,7 @@
 name                    php54
 set php                 ${name}
 # Increment revision of ${php}-eaccelerator when updating version of ${php}.
-version                 5.4.0RC3
+version                 5.4.0RC4
 set major               [lindex [split ${version} .] 0]
 categories              lang php www
 maintainers             ryandesign jwa
@@ -29,8 +29,8 @@
 use_bzip2               yes
 
 checksums               [suffix ${distname}] \
-                        rmd160  9549bbeb1fd719f6c3d20bda7ede23c5059805a3 \
-                        sha256  23f9bac36ff7a3ce9f367e313c2b89a03483238d44ff8a590ae829c7ee1fc748
+                        rmd160  f360e34753f4fbf53bd9727b6e2a2ba43e48ed56 \
+                        sha256  7d51d2f141b93e6e3b043d14dddbcbca550abbeddf442e4aa05b993cdbfd707c
 
 if {${subport} == "${php}" || ${subport} == "${php}-apache2handler" || ${subport} == "${php}-cgi" || ${subport} == "${php}-fpm"} {
     
@@ -60,6 +60,8 @@
     configure.args      --mandir=${prefix}/share/man \
                         --infodir=${prefix}/share/info \
                         --program-suffix=[join [lrange [split ${version} .] 0 1] {}] \
+                        --includedir=${prefix}/include/${php} \
+                        --libdir=${prefix}/lib/${php} \
                         --with-config-file-path=${phpinidir} \
                         --with-config-file-scan-dir=${extraphpinidir} \
                         --disable-all \
@@ -135,8 +137,6 @@
 }
 
 if {${subport} == ${php}} {
-    revision                1
-    
     configure.args-delete   --disable-cli
     configure.args-append   --enable-cli
     
@@ -153,8 +153,8 @@
             ${destroot}${phpinidir}
         
         # Copy mysqlnd headers.
-        xinstall -d ${destroot}${prefix}/include/php/ext/mysqlnd
-        eval xinstall -m 644 [glob ${worksrcpath}/ext/mysqlnd/*.h] ${destroot}${prefix}/include/php/ext/mysqlnd
+        xinstall -d ${destroot}${prefix}/include/${php}/php/ext/mysqlnd
+        eval xinstall -m 644 [glob ${worksrcpath}/ext/mysqlnd/*.h] ${destroot}${prefix}/include/${php}/php/ext/mysqlnd
     }
     
     if {![file exists ${phpinidir}/php.ini]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111230/8b8dc51d/attachment.html>


More information about the macports-changes mailing list