[92824] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Mon May 7 14:30:18 PDT 2012


Revision: 92824
          https://trac.macports.org/changeset/92824
Author:   ryandesign at macports.org
Date:     2012-05-07 14:30:18 -0700 (Mon, 07 May 2012)
Log Message:
-----------
php-cairo: unified port

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

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

Modified: trunk/dports/php/php-cairo/Portfile
===================================================================
--- trunk/dports/php/php5-cairo/Portfile	2012-05-06 23:16:29 UTC (rev 92784)
+++ trunk/dports/php/php-cairo/Portfile	2012-05-07 21:30:18 UTC (rev 92824)
@@ -2,11 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           php5extension 1.0
+PortGroup           php 1.0
 
-php5extension.setup cairo 0.3.2 pecl
+php.setup           cairo 0.3.2 pecl
+php.branches        5.3 5.4
 license             PHP
-conflicts           php5-cairo_wrapper
 categories          php devel
 platforms           darwin
 maintainers         ryandesign
@@ -23,17 +23,22 @@
 
 distname            Cairo-${version}
 
-depends_build       port:pkgconfig
-depends_lib-append  path:lib/libcairo.dylib:cairo \
-                    port:libpng
-
-test.run            yes
-
-post-destroot {
-    set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 644 -W ${worksrcpath} CREDITS IGNORED README SYMBOLS TODO \
-        ${destroot}${docdir}
+if {${name} != ${subport}} {
+    conflicts           ${php}-cairo_wrapper
+    
+    depends_build       port:pkgconfig
+    
+    depends_lib-append  path:lib/libcairo.dylib:cairo \
+                        port:libpng
+    
+    test.run            yes
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} CREDITS IGNORED README SYMBOLS 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/20120507/15d801c1/attachment.html>


More information about the macports-changes mailing list