[93179] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Wed May 16 19:51:31 PDT 2012


Revision: 93179
          https://trac.macports.org/changeset/93179
Author:   ryandesign at macports.org
Date:     2012-05-16 19:51:30 -0700 (Wed, 16 May 2012)
Log Message:
-----------
php-excel: unified port

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

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

Modified: trunk/dports/php/php-excel/Portfile
===================================================================
--- trunk/dports/php/php5-excel/Portfile	2012-05-17 02:10:18 UTC (rev 93172)
+++ trunk/dports/php/php-excel/Portfile	2012-05-17 02:51:30 UTC (rev 93179)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           php5extension 1.0
+PortGroup           php 1.0
 
-php5extension.setup excel 0.9.6
+php.setup           excel 0.9.6
+php.branches        5.3 5.4
 categories-append   textproc
 platforms           darwin
 maintainers         ryandesign
@@ -22,14 +23,16 @@
 checksums           rmd160  3a131021e6f2c3e10258ba2856808c15b8339d38 \
                     sha256  a4453e45d7f420413c3a30e67eb3c4e7083726e717b27203e7787d504abcccbe
 
-depends_lib-append  port:libxl
+if {${name} != ${subport}} {
+    depends_lib-append  port:libxl
+    
+    # libxl is Intel-only
+    supported_archs     i386 x86_64
+    configure.universal_archs i386 x86_64
+    
+    configure.args      --with-libxl-incdir=${prefix}/include/libxl-c \
+                        --with-libxl-libdir=${prefix}/lib
+}
 
-# libxl is Intel-only
-supported_archs     i386 x86_64
-configure.universal_archs i386 x86_64
-
-configure.args      --with-libxl-incdir=${prefix}/include/libxl-c \
-                    --with-libxl-libdir=${prefix}/lib
-
 livecheck.url       ${homepage}/downloads
 livecheck.regex     php-excel-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120516/93448116/attachment-0001.html>


More information about the macports-changes mailing list