[93646] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Sun May 27 22:17:35 PDT 2012


Revision: 93646
          https://trac.macports.org/changeset/93646
Author:   ryandesign at macports.org
Date:     2012-05-27 22:17:34 -0700 (Sun, 27 May 2012)
Log Message:
-----------
php-http: unified port

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

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

Modified: trunk/dports/php/php-http/Portfile
===================================================================
--- trunk/dports/php/php5-http/Portfile	2012-05-25 21:53:07 UTC (rev 93529)
+++ trunk/dports/php/php-http/Portfile	2012-05-28 05:17:34 UTC (rev 93646)
@@ -2,14 +2,19 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       php5extension 1.0
+PortGroup       php 1.1
 
-php5extension.setup pecl_http 1.7.4 pecl
-php5extension.extensions http
-name            php5-http
+name            php-http
+version         1.7.4
+revision        1
 categories      php www
 platforms       darwin
 maintainers     nomaintainer
+
+php.branches    5.3 5.4
+php.pecl        yes
+php.pecl.name   pecl_http
+
 description     Extended HTTP Support
 
 long_description \
@@ -25,12 +30,13 @@
 checksums       rmd160  f5a80df53a13a16a218e5057c705596821fb97c0 \
                 sha256  9006122f45a96754a417fd5afb00a7b6ad1aa125dd2158e56ca1b2d334421e03
 
-depends_lib-append \
-    port:curl \
-    port:zlib
-
-configure.args  --with-http-curl-requests=${prefix} \
-                --with-http-zlib-compression=${prefix} \
-                --without-http-curl-libevent
-
-use_parallel_build  yes
+if {${name} != ${subport}} {
+    depends_lib-append  port:curl \
+                        port:zlib
+    
+    configure.args      --with-http-curl-requests=${prefix} \
+                        --with-http-zlib-compression=${prefix} \
+                        --without-http-curl-libevent
+    
+    use_parallel_build  yes
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120527/567a8bd7/attachment.html>


More information about the macports-changes mailing list