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

ryandesign at macports.org ryandesign at macports.org
Wed Dec 21 07:22:46 PST 2011


Revision: 88174
          http://trac.macports.org/changeset/88174
Author:   ryandesign at macports.org
Date:     2011-12-21 07:22:40 -0800 (Wed, 21 Dec 2011)
Log Message:
-----------
php54: add php54-fpm subport

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

Modified: users/ryandesign/ports/lang/php54/Portfile
===================================================================
--- users/ryandesign/ports/lang/php54/Portfile	2011-12-21 14:37:40 UTC (rev 88173)
+++ users/ryandesign/ports/lang/php54/Portfile	2011-12-21 15:22:40 UTC (rev 88174)
@@ -32,7 +32,7 @@
                         rmd160  9549bbeb1fd719f6c3d20bda7ede23c5059805a3 \
                         sha256  23f9bac36ff7a3ce9f367e313c2b89a03483238d44ff8a590ae829c7ee1fc748
 
-if {${subport} == "${php}" || ${subport} == "${php}-apache2handler" || ${subport} == "${php}-cgi"} {
+if {${subport} == "${php}" || ${subport} == "${php}-apache2handler" || ${subport} == "${php}-cgi" || ${subport} == "${php}-fpm"} {
     
     ### SAPIs ###
     
@@ -86,8 +86,9 @@
                         --with-libxml-dir=${prefix} \
                         --with-zlib=${prefix} \
                         --without-pear \
+                        --disable-cgi \
                         --disable-cli \
-                        --disable-cgi
+                        --disable-fpm
     
     # ${php}-mysql +mysqlnd needs mysqlnd support compiled into the SAPI
     configure.env       PHP_MYSQLND_ENABLED=yes
@@ -234,3 +235,16 @@
     
     destroot.target         install-cgi
 }
+
+subport ${php}-fpm {
+    description             ${php} FPM SAPI
+    
+    long_description        ${description}
+    
+    configure.args-delete   --disable-fpm
+    configure.args-append   --enable-fpm
+    
+    build.target            fpm
+    
+    destroot.target         install-fpm
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111221/87058fed/attachment.html>


More information about the macports-changes mailing list