[153198] trunk/dports/php/php-redis/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Sep 26 22:34:28 PDT 2016


Revision: 153198
          https://trac.macports.org/changeset/153198
Author:   ryandesign at macports.org
Date:     2016-09-26 22:34:27 -0700 (Mon, 26 Sep 2016)
Log Message:
-----------
php-redis: update to 2.2.8 and add php70-redis 3.0.0

Resolves #51353

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

Modified: trunk/dports/php/php-redis/Portfile
===================================================================
--- trunk/dports/php/php-redis/Portfile	2016-09-27 05:17:48 UTC (rev 153197)
+++ trunk/dports/php/php-redis/Portfile	2016-09-27 05:34:27 UTC (rev 153198)
@@ -2,27 +2,33 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               github 1.0
 PortGroup               php 1.1
 
-github.setup            phpredis phpredis 2.2.7
 name                    php-redis
 categories-append       databases
 platforms               darwin
 maintainers             ryandesign openmaintainer
 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
 
-distname                redis-${version}
+if {[vercmp ${php.branch} 7] >= 0} {
+    version             3.0.0
+    revision            0
+    checksums           rmd160  cf1ec266596bff0e380f69e9a8348e6fb563d020 \
+                        sha256  de0e349027ea0821fbfb7f1961226223f3179bb84c6dada515f0145227993f70
+} else {
+    version             2.2.8
+    revision            0
+    checksums           rmd160  bf5c191416d943184d8605ccd824c206ba82b589 \
+                        sha256  fc533752de62848f645707b65cba9d015ab4ed9c7a978c7bd710a5934d97b1b5
+}
 
 description             an API for communicating with a Redis database from PHP
 
 long_description        ${name} is ${description}.
 
-checksums               rmd160  0a4510be43e857e515f5559d633c2ea8e0709f2d \
-                        sha256  f9bd9518fe855c0667e1405264e99f782e6e165e2627f14303e920cd80fe250a
-
 configure.args-append   --enable-redis
 
 use_parallel_build      yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160926/2a977817/attachment.html>


More information about the macports-changes mailing list