[145635] trunk/dports/php/php-APCu/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Feb 11 10:51:23 PST 2016


Revision: 145635
          https://trac.macports.org/changeset/145635
Author:   ryandesign at macports.org
Date:     2016-02-11 10:51:23 -0800 (Thu, 11 Feb 2016)
Log Message:
-----------
php-APCu: add php70-APCu subport (#50561)

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

Modified: trunk/dports/php/php-APCu/Portfile
===================================================================
--- trunk/dports/php/php-APCu/Portfile	2016-02-11 17:56:55 UTC (rev 145634)
+++ trunk/dports/php/php-APCu/Portfile	2016-02-11 18:51:23 UTC (rev 145635)
@@ -5,22 +5,30 @@
 PortGroup           php 1.1
 
 name                php-APCu
-version             4.0.10
 categories          php devel
 platforms           darwin
 maintainers         ryandesign
 license             PHP-3.01
 
-php.branches        5.3 5.4 5.5 5.6
+php.branches        5.3 5.4 5.5 5.6 7.0
 php.pecl            yes
 
+if {[vercmp ${php.branch} 7] < 0} {
+    version         4.0.10
+    revision        0
+    checksums       rmd160  66b96b95353e2cfc60828c56e0b2297f184cdf64 \
+                    sha256  8dee6680924107d2aaf827f9cb8ef0e8e09c47bb38712a3439eddabe3ce41b40
+} else {
+    version         5.1.3
+    revision        0
+    checksums       rmd160  c60bf6e3a9c9982750e2c0e0d76ed2dfae49fc6d \
+                    sha256  1582c323d31529c91edc11dcb956ee53660b37e49387d0d609d79d57224a7c30
+}
+
 description         APC User Cache
 
 long_description    APCu contains the user-level functionality from APC
 
-checksums           rmd160  66b96b95353e2cfc60828c56e0b2297f184cdf64 \
-                    sha256  8dee6680924107d2aaf827f9cb8ef0e8e09c47bb38712a3439eddabe3ce41b40
-
 if {${name} ne ${subport}} {
     conflicts       ${php}-APC ${php}-eaccelerator ${php}-xcache
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160211/238ffd81/attachment.html>


More information about the macports-changes mailing list