[93078] trunk/dports/php

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


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

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

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

Modified: trunk/dports/php/php-htscanner/Portfile
===================================================================
--- trunk/dports/php/php5-htscanner/Portfile	2012-05-14 22:14:28 UTC (rev 93077)
+++ trunk/dports/php/php-htscanner/Portfile	2012-05-14 22:19:03 UTC (rev 93078)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               php5extension 1.0
+PortGroup               php 1.0
 
-php5extension.setup     htscanner 1.0.1 pecl
+php.setup               htscanner 1.0.1 pecl
+php.branches            5.3 5.4
 categories-append       www
 platforms               darwin
 maintainers             ryandesign
@@ -18,11 +19,12 @@
 checksums               rmd160  3f53b8d79dd99653409dc19675bfa902b39ad71f \
                         sha256  c894e6bccc258ac1601530292e949991a355b68650d70cb9dba303df48a7823f
 
-use_parallel_build      yes
-
-post-destroot {
-    xinstall -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} CREDITS README docs/htscanner.ini ${destroot}${prefix}/share/doc/${name}
+if {${name} != ${subport}} {
+    use_parallel_build      yes
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} CREDITS README docs/htscanner.ini ${destroot}${docdir}
+    }
 }
-
-livecheck.regex         {>(\d+(?:\.\d+)*(?:p\d+)?)</a></th>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/be2d87a6/attachment.html>


More information about the macports-changes mailing list