[50184] trunk/dports

nox at macports.org nox at macports.org
Mon Apr 27 06:46:05 PDT 2009


Revision: 50184
          http://trac.macports.org/changeset/50184
Author:   nox at macports.org
Date:     2009-04-27 06:46:05 -0700 (Mon, 27 Apr 2009)
Log Message:
-----------
php5-http: Port to php5peclextension group.

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

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

Removed Paths:
-------------
    trunk/dports/www/php5-http/

Modified: trunk/dports/php/php5-http/Portfile
===================================================================
--- trunk/dports/www/php5-http/Portfile	2009-04-27 11:52:58 UTC (rev 50180)
+++ trunk/dports/php/php5-http/Portfile	2009-04-27 13:46:05 UTC (rev 50184)
@@ -2,11 +2,13 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       php5peclextension 1.0
 
+php5peclextension.setup pecl_http 1.6.3
+
 name            php5-http
-set my_name     pecl_http
-version         1.6.3
-categories      www php
+revision        1
+categories      php www
 platforms       darwin
 maintainers     nox openmaintainer
 description     Extended HTTP Support
@@ -21,27 +23,16 @@
     It provides powerful request functionality, if built with CURL \
     support. Parallel requests are available for PHP 5 and greater.
 
-homepage        http://pecl.php.net/package/${my_name}
-master_sites    http://pecl.php.net/get/
-distname        ${my_name}-${version}
-extract.suffix  .tgz
-
 checksums       md5     988d2c81147e10c97887bd481d5f8655 \
                 sha1    df4aae8aed39b9e0604b083e1789eda43091e2b2 \
                 rmd160  06975c840ca83705dee64a0b083f168a066d6978
 
-depends_lib     path:bin/phpize:php5 \
-                port:curl \
-                port:zlib
+depends_lib-append \
+    port:curl \
+    port:zlib
 
 configure.args  --with-http-curl-requests=${prefix} \
                 --with-http-zlib-compression=${prefix} \
                 --without-http-curl-libevent
 
-pre-configure {
-    system "cd ${worksrcpath} && phpize"
-}
-
 use_parallel_build  yes
-
-destroot.destdir    INSTALL_ROOT=${destroot}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090427/c4a51a5f/attachment.html>


More information about the macports-changes mailing list