[93083] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Mon May 14 15:51:24 PDT 2012


Revision: 93083
          https://trac.macports.org/changeset/93083
Author:   ryandesign at macports.org
Date:     2012-05-14 15:51:24 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php-uploadprogress: unified port

Modified Paths:
--------------
    trunk/dports/php/php-uploadprogress/Portfile

Added Paths:
-----------
    trunk/dports/php/php-uploadprogress/

Modified: trunk/dports/php/php-uploadprogress/Portfile
===================================================================
--- trunk/dports/php/php5-uploadprogress/Portfile	2012-05-14 22:46:47 UTC (rev 93082)
+++ trunk/dports/php/php-uploadprogress/Portfile	2012-05-14 22:51:24 UTC (rev 93083)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       php5extension 1.0
+PortGroup       php 1.0
 
-php5extension.setup uploadprogress 1.0.3.1 pecl
+php.setup       uploadprogress 1.0.3.1 pecl
+php.branches    5.3 5.4
 categories      php www devel
 platforms       darwin
 maintainers     nomaintainer
@@ -15,15 +16,16 @@
     work on Apache with mod_php, other SAPI implementations unfortunately \
     still have issues.
 
-pre-fetch {
-    if {![file exists ${prefix}/apache2/modules/libphp5.so]} {
-        error "php5 must be built with the +apache2 variant enabled."
-    }
-}
-
 checksums       rmd160  41eca2504c467a3bacc716db06ff8e42501586a8 \
                 sha256  30588b4589543bcf6371532546b1a8cee9da1086c206aca9f96ea1bd486bbab2
 
-use_parallel_build  yes
+if {${name} != ${subport}} {
+    depends_lib-append  port:${php}-apache2handler
+    
+    use_parallel_build  yes
+}
 
-build.args          EXTRA_INCLUDES=-I${prefix}/include
+notes "
+${name} is only known to work with the Apache handler; its use with other\
+SAPIs is not supported.
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/71bca0c0/attachment.html>


More information about the macports-changes mailing list