[93141] trunk/dports/php/php5-geoip/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 15 22:13:48 PDT 2012


Revision: 93141
          https://trac.macports.org/changeset/93141
Author:   ryandesign at macports.org
Date:     2012-05-15 22:13:47 -0700 (Tue, 15 May 2012)
Log Message:
-----------
php5-geoip: revert r93139 committed to wrong Portfile

Revision Links:
--------------
    https://trac.macports.org/changeset/93139

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

Modified: trunk/dports/php/php5-geoip/Portfile
===================================================================
--- trunk/dports/php/php5-geoip/Portfile	2012-05-16 05:07:28 UTC (rev 93140)
+++ trunk/dports/php/php5-geoip/Portfile	2012-05-16 05:13:47 UTC (rev 93141)
@@ -2,10 +2,9 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       php 1.0
+PortGroup       php5extension 1.0
 
-php.setup       geoip 1.0.8 pecl
-php.branches    5.3 5.4
+php5extension.setup geoip 1.0.8 pecl
 license         PHP
 categories      php devel
 platforms       darwin
@@ -20,16 +19,15 @@
 checksums           rmd160  cea5d556b2d502f40cc197cb8acec09d8482aac0 \
                     sha256  08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a
 
-if {${name} != ${subport}} {
-    depends_lib-append  port:libgeoip
-    
-    use_parallel_build  yes
-    
-    test.run            yes
-    
-    post-destroot {
-        set docdir ${prefix}/share/doc/${subport}
-        xinstall -d ${destroot}${docdir}
-        xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}
-    }
+depends_lib-append port:libgeoip
+
+use_parallel_build yes
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
+        ${destroot}${docdir}
 }
+
+test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/e4168bf9/attachment.html>


More information about the macports-changes mailing list