[93079] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Mon May 14 15:23:14 PDT 2012


Revision: 93079
          https://trac.macports.org/changeset/93079
Author:   ryandesign at macports.org
Date:     2012-05-14 15:23:14 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php-big_int: unified port

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

Added Paths:
-----------
    trunk/dports/php/php-big_int/

Modified: trunk/dports/php/php-big_int/Portfile
===================================================================
--- trunk/dports/php/php5-big_int/Portfile	2012-05-14 22:19:03 UTC (rev 93078)
+++ trunk/dports/php/php-big_int/Portfile	2012-05-14 22:23:14 UTC (rev 93079)
@@ -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 big_int 1.0.7 pecl
+php.setup       big_int 1.0.7 pecl
+php.branches    5.3 5.4
 categories      php devel
 platforms       darwin
 maintainers     nomaintainer
@@ -22,15 +24,13 @@
                 sha1    3687c4b479c50118a4a4182e567242f0bf88d557 \
                 rmd160  bfb06f73e73578ff7e01b6d9c56bc594f354839a
 
-use_parallel_build yes
-
-post-destroot {
-    set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 644 -W ${worksrcpath} CREDITS LICENSE README \
-        ${destroot}${docdir}
-    xinstall -d ${destroot}${docdir}/html
-    xinstall -m 644 ${worksrcpath}/docs/index.html ${destroot}${docdir}/html
+if {${name} != ${subport}} {
+    use_parallel_build yes
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}/html
+        xinstall -m 644 -W ${worksrcpath} CREDITS LICENSE README ${destroot}${docdir}
+        xinstall -m 644 ${worksrcpath}/docs/index.html ${destroot}${docdir}/html
+    }
 }
-
-livecheck.regex {(\d+(?:\.\d+)*)</a></th>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/7b7d84fc/attachment-0001.html>


More information about the macports-changes mailing list