[93142] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Tue May 15 22:14:35 PDT 2012
Revision: 93142
https://trac.macports.org/changeset/93142
Author: ryandesign at macports.org
Date: 2012-05-15 22:14:34 -0700 (Tue, 15 May 2012)
Log Message:
-----------
php-geoip: unified port
Modified Paths:
--------------
trunk/dports/php/php-geoip/Portfile
Added Paths:
-----------
trunk/dports/php/php-geoip/
Modified: trunk/dports/php/php-geoip/Portfile
===================================================================
--- trunk/dports/php/php5-geoip/Portfile 2012-04-22 08:34:43 UTC (rev 92226)
+++ trunk/dports/php/php-geoip/Portfile 2012-05-16 05:14:34 UTC (rev 93142)
@@ -1,9 +1,11 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
-PortGroup php5extension 1.0
+PortGroup php 1.0
-php5extension.setup geoip 1.0.8 pecl
+php.setup geoip 1.0.8 pecl
+php.branches 5.3 5.4
license PHP
categories php devel
platforms darwin
@@ -18,17 +20,16 @@
checksums rmd160 cea5d556b2d502f40cc197cb8acec09d8482aac0 \
sha256 08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a
-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}
+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}
+ }
}
-
-test.run yes
-
-livecheck.regex {(\d+(?:\.\d+)*)</a></th>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/a8c4dd7c/attachment-0001.html>
More information about the macports-changes
mailing list