[92959] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Fri May 11 15:37:24 PDT 2012


Revision: 92959
          https://trac.macports.org/changeset/92959
Author:   ryandesign at macports.org
Date:     2012-05-11 15:37:24 -0700 (Fri, 11 May 2012)
Log Message:
-----------
php-eaccelerator: unified port

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

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

Modified: trunk/dports/php/php-eaccelerator/Portfile
===================================================================
--- trunk/dports/php/php5-eaccelerator/Portfile	2012-05-11 20:12:08 UTC (rev 92958)
+++ trunk/dports/php/php-eaccelerator/Portfile	2012-05-11 22:37:24 UTC (rev 92959)
@@ -1,15 +1,13 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         php5extension 1.0
+PortGroup         php 1.0
 
-epoch             1
-php5extension.setup eaccelerator 0.9.6.1
-revision          6
+php.setup         eaccelerator 0.9.6.1
+php.branches      5.3
 categories        php www devel
 platforms         darwin freebsd openbsd
 maintainers       nomaintainer
-conflicts         php5-apc php5-xcache
 
 homepage          http://eaccelerator.net/
 description       php5 extension for PHP acceleration, optimization, and dynamic content caching
@@ -28,16 +26,19 @@
                   rmd160  6a16ab377ec124a27e26a5fdc1fd6ada845695bd
 
 use_bzip2         yes
-configure.args    --with-php-config=${prefix}/bin/php-config
 
-variant shared_memory description {Enable shared memory access functions [only enable in trusted environments]} {
-    configure.args-append --with-eaccelerator-shared-memory
+if {${name} != ${subport}} {
+    conflicts     ${php}-apc ${php}-xcache
+    
+    variant shared_memory description {Enable shared memory access functions (only enable in trusted environments)} {
+        configure.args-append --with-eaccelerator-shared-memory
+    }
+    
+    variant disassembler description {Include a disassembler} {
+        configure.args-append --with-eaccelerator-disassembler
+    }
 }
 
-variant disassembler description {Include a disassembler} {
-    configure.args-append --with-eaccelerator-disassembler
-}
-
 livecheck.type   regex
 livecheck.url    ${homepage}
 livecheck.regex  "Release-((\\d\\.?)+(-rc1)?)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120511/e3440a38/attachment.html>


More information about the macports-changes mailing list