[93085] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Mon May 14 16:34:36 PDT 2012
Revision: 93085
https://trac.macports.org/changeset/93085
Author: ryandesign at macports.org
Date: 2012-05-14 16:34:35 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php-colorer: unified port
Modified Paths:
--------------
trunk/dports/php/php-colorer/Portfile
Added Paths:
-----------
trunk/dports/php/php-colorer/
Modified: trunk/dports/php/php-colorer/Portfile
===================================================================
--- trunk/dports/php/php5-colorer/Portfile 2012-05-14 22:51:24 UTC (rev 93083)
+++ trunk/dports/php/php-colorer/Portfile 2012-05-14 23:34:35 UTC (rev 93085)
@@ -1,10 +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 archcheck 1.0
-PortGroup php5extension 1.0
+PortGroup php 1.0
-php5extension.setup colorer 0.7 pecl
+php.setup colorer 0.7 pecl
+php.branches 5.3
license PHP
categories php devel
platforms darwin
@@ -23,19 +24,16 @@
sha1 ee93681959e71f61e52a3c9ee98a47b964a12880 \
rmd160 6275bc1790a462487b3d948996162de4217c0038
-depends_lib-append \
- port:colorer
-
-archcheck.files \
- lib/libcolorer.dylib
-
-configure.args-append \
- --with-colorer=${prefix}
-
-post-destroot {
- set docdir ${prefix}/share/doc/${name}
- xinstall -d ${destroot}${docdir}
- xinstall -m 644 -W ${worksrcpath} CREDITS README TODO ${destroot}${docdir}
+if {${name} != ${subport}} {
+ depends_lib-append port:colorer
+
+ configure.args-append --with-colorer=${prefix}
+
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} CREDITS README TODO ${destroot}${docdir}
+ }
}
-livecheck.regex {(\d+(?:\.\d+)*)</a></th>}
+php.pecl_livecheck_stable no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/6ffe6153/attachment.html>
More information about the macports-changes
mailing list