[153216] trunk/dports/php/php-geoip/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Sep 27 05:21:46 PDT 2016


Revision: 153216
          https://trac.macports.org/changeset/153216
Author:   ryandesign at macports.org
Date:     2016-09-27 05:21:45 -0700 (Tue, 27 Sep 2016)
Log Message:
-----------
php-geoip: add php70-geoip subport version 1.1.1

Resolves #50127

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

Modified: trunk/dports/php/php-geoip/Portfile
===================================================================
--- trunk/dports/php/php-geoip/Portfile	2016-09-27 12:14:55 UTC (rev 153215)
+++ trunk/dports/php/php-geoip/Portfile	2016-09-27 12:21:45 UTC (rev 153216)
@@ -5,16 +5,27 @@
 PortGroup       php 1.1
 
 name            php-geoip
-version         1.0.8
-revision        1
 license         PHP
 categories      php devel
 platforms       darwin
 maintainers     ryandesign openmaintainer
 
-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} {
+    php.pecl.prerelease yes
+    version     1.1.1
+    revision    0
+    checksums   rmd160  60c128064decb959b497bd2f627712b7be32fa79 \
+                sha256  b2d05c03019d46135c249b5a7fa0dbd43ca5ee98aea8ed807bc7aa90ac8c0f06
+} else {
+    version     1.0.8
+    revision    1
+    checksums   rmd160  cea5d556b2d502f40cc197cb8acec09d8482aac0 \
+                sha256  08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a
+}
+
 description     Map IP address to geographic places
 
 long_description \
@@ -22,9 +33,6 @@
     City, State, Country, Longitude, Latitude, and other information as all, \
     such as ISP and connection type.
 
-checksums           rmd160  cea5d556b2d502f40cc197cb8acec09d8482aac0 \
-                    sha256  08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a
-
 if {${name} ne ${subport}} {
     depends_lib-append  port:libgeoip
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160927/54ca6bca/attachment.html>


More information about the macports-changes mailing list