[93076] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Mon May 14 14:48:20 PDT 2012


Revision: 93076
          https://trac.macports.org/changeset/93076
Author:   ryandesign at macports.org
Date:     2012-05-14 14:48:20 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php-ssh2: unified port

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

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

Modified: trunk/dports/php/php-ssh2/Portfile
===================================================================
--- trunk/dports/php/php5-ssh2/Portfile	2012-05-14 21:44:59 UTC (rev 93075)
+++ trunk/dports/php/php-ssh2/Portfile	2012-05-14 21:48:20 UTC (rev 93076)
@@ -2,23 +2,26 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               php5extension 1.0
+PortGroup               php 1.0
 
-php5extension.setup     ssh2 0.11.3 pecl
+php.setup               ssh2 0.11.3 pecl
+php.branches            5.3 5.4
 categories-append       net
 platforms               darwin
 maintainers             ryandesign
 license                 PHP
 
-description             PHP5 bindings for libssh2
+description             PHP bindings for libssh2
 
 long_description        ${description}
 
 checksums               rmd160  b889f89c4d6843ed9e98fc26f4c2a0f4a045953e \
                         sha256  b2518e101a53fd7940e49bb36a9b9559cbbfda946ebe5bb62e220d4ce132bf33
 
-depends_lib-append      port:libssh2
+if {${name} != ${subport}} {
+    depends_lib-append      port:libssh2
+    
+    configure.args          --with-ssh2=${prefix}
+}
 
-configure.args          --with-ssh2=${prefix}
-
-livecheck.regex         {>(\d+(?:\.\d+)*(?:p\d+)?)</a></th>}
+php.pecl_livecheck_stable no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/637ad5ba/attachment.html>


More information about the macports-changes mailing list