[113892] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Sun Nov 24 23:26:13 PST 2013


Revision: 113892
          https://trac.macports.org/changeset/113892
Author:   ryandesign at macports.org
Date:     2013-11-24 23:26:13 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
php-http2: new port, version 2.0.0, based on php-http and conflicting with it

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

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

Modified: trunk/dports/php/php-event/Portfile
===================================================================
--- trunk/dports/php/php-event/Portfile	2013-11-25 06:34:49 UTC (rev 113891)
+++ trunk/dports/php/php-event/Portfile	2013-11-25 07:26:13 UTC (rev 113892)
@@ -22,6 +22,8 @@
                         sha256  8bababa437fd391d02fdc953005496f701bdfc3f46a0395806d4a7f5cda8d26c
 
 if {${name} ne ${subport}} {
+    conflicts           ${php}-http2
+
     depends_lib-append  port:libevent \
                         port:openssl \
                         port:${php}-sockets

Modified: trunk/dports/php/php-http/Portfile
===================================================================
--- trunk/dports/php/php-http/Portfile	2013-11-25 06:34:49 UTC (rev 113891)
+++ trunk/dports/php/php-http/Portfile	2013-11-25 07:26:13 UTC (rev 113892)
@@ -30,7 +30,9 @@
 checksums       rmd160  bd873c720f36944b219eac8c3b44fa4b9164c21a \
                 sha256  e87207a7dcd713bef0eb3701b552e0d173fbd73dbd52f9d3968851112e899983
 
-if {${name} != ${subport}} {
+if {${name} ne ${subport}} {
+    conflicts           ${php}-http2
+    
     depends_lib-append  port:curl \
                         port:zlib
     

Modified: trunk/dports/php/php-http2/Portfile
===================================================================
--- trunk/dports/php/php-http/Portfile	2013-11-23 20:11:37 UTC (rev 113800)
+++ trunk/dports/php/php-http2/Portfile	2013-11-25 07:26:13 UTC (rev 113892)
@@ -4,8 +4,8 @@
 PortSystem      1.0
 PortGroup       php 1.1
 
-name            php-http
-version         1.7.6
+name            php-http2
+version         2.0.0
 categories      php www
 platforms       darwin
 maintainers     ryandesign openmaintainer
@@ -27,16 +27,28 @@
     It provides powerful request functionality, if built with CURL \
     support. Parallel requests are available for PHP 5 and greater.
 
-checksums       rmd160  bd873c720f36944b219eac8c3b44fa4b9164c21a \
-                sha256  e87207a7dcd713bef0eb3701b552e0d173fbd73dbd52f9d3968851112e899983
+dist_subdir     php5-http
 
-if {${name} != ${subport}} {
+checksums       rmd160  132450d6384b6d62346e1603a2a5f9bab743a50d \
+                sha256  23d871cf26bc44baaa1492ec012887f1e2d6e69e85ed8b47ffd31e5920dd59cc
+
+if {${name} ne ${subport}} {
+    conflicts           ${php}-event \
+                        ${php}-http
+
     depends_lib-append  port:curl \
+                        port:${php}-iconv \
+                        port:${php}-propro \
+                        port:${php}-raphf \
                         port:zlib
     
-    configure.args      --with-http-curl-requests=${prefix} \
-                        --with-http-zlib-compression=${prefix} \
-                        --without-http-curl-libevent
+    configure.args      --with-http \
+                        --with-http-libcurl-dir=${prefix} \
+                        --with-http-shared-deps \
+                        --with-http-zlib-dir=${prefix} \
+                        --without-http-libevent-dir
     
+    configure.cppflags-append -DHAVE_ICONV
+
     use_parallel_build  yes
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/c191268c/attachment-0001.html>


More information about the macports-changes mailing list