[92956] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Fri May 11 12:49:24 PDT 2012


Revision: 92956
          https://trac.macports.org/changeset/92956
Author:   ryandesign at macports.org
Date:     2012-05-11 12:49:23 -0700 (Fri, 11 May 2012)
Log Message:
-----------
php-xcache: unified port

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

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

Modified: trunk/dports/php/php-xcache/Portfile
===================================================================
--- trunk/dports/php/php5-xcache/Portfile	2012-05-11 19:46:35 UTC (rev 92955)
+++ trunk/dports/php/php-xcache/Portfile	2012-05-11 19:49:23 UTC (rev 92956)
@@ -2,16 +2,16 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               php5extension 1.0
+PortGroup               php 1.0
 
-php5extension.setup     xcache 2.0.0
+php.setup               xcache 2.0.0
+php.branches            5.3 5.4
 categories-append       www
 platforms               darwin
 maintainers             ryandesign
 homepage                http://xcache.lighttpd.net/
 master_sites            ${homepage}pub/Releases/${version}/
 use_bzip2               yes
-conflicts               php5-apc php5-eaccelerator
 
 description             fast, stable PHP opcode cacher
 
@@ -20,15 +20,19 @@
 checksums               rmd160  85c9b41af9a83d6beecd87849ca2fb539572b3f0 \
                         sha256  ca26b0772d8b88223f281f5099a3b7d9f4b6597a87ae857301271c1fd5a3f64a
 
-patchfiles              patch-xcache.ini.diff
-
-# gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
-universal_variant       no
-
-post-destroot {
-    set docdir ${destroot}${prefix}/share/doc/${name}
-    xinstall -d ${docdir}
-    xinstall -W ${worksrcpath} -m 644 AUTHORS COPYING ChangeLog NEWS README THANKS xcache.ini ${docdir}
+if {${name} != ${subport}} {
+    conflicts           ${php}-apc ${php}-eaccelerator
+    
+    patchfiles          patch-xcache.ini.diff
+    
+    # gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
+    universal_variant   no
+    
+    post-destroot {
+        set docdir ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d ${docdir}
+        xinstall -W ${worksrcpath} -m 644 AUTHORS COPYING ChangeLog NEWS README THANKS xcache.ini ${docdir}
+    }
 }
 
 livecheck.type          regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120511/047a1c38/attachment-0001.html>


More information about the macports-changes mailing list