[50191] trunk/dports/php/php5-eaccelerator/Portfile
alakazam at macports.org
alakazam at macports.org
Mon Apr 27 07:29:29 PDT 2009
Revision: 50191
http://trac.macports.org/changeset/50191
Author: alakazam at macports.org
Date: 2009-04-27 07:29:29 -0700 (Mon, 27 Apr 2009)
Log Message:
-----------
Migrate php5-eaccelerator to the php5extension PortGroup
Modified Paths:
--------------
trunk/dports/php/php5-eaccelerator/Portfile
Modified: trunk/dports/php/php5-eaccelerator/Portfile
===================================================================
--- trunk/dports/php/php5-eaccelerator/Portfile 2009-04-27 14:27:24 UTC (rev 50190)
+++ trunk/dports/php/php5-eaccelerator/Portfile 2009-04-27 14:29:29 UTC (rev 50191)
@@ -1,9 +1,10 @@
# $Id$
PortSystem 1.0
+PortGroup php5extension 1.0
-name php5-eaccelerator
-version 0.9.5.3
+php5extension.setup eaccelerator 0.9.5.3
+revision 1
categories php www devel
platforms darwin freebsd openbsd
@@ -22,35 +23,9 @@
checksums md5 caf797223739516882f870342f74b935 \
sha1 6671a105497f41c4e93e0b84da516b72df159fc5 \
rmd160 9da55beec18e7a36761b5556d3bb4d5292d21650
-distname eaccelerator-${version}
use_bzip2 yes
-depends_lib path:bin/phpize:php5
configure.args --with-php-config=${prefix}/bin/php-config
-pre-configure {
- system "cd ${worksrcpath}; phpize"
-}
-
-destroot.destdir INSTALL_ROOT=${destroot}
-
-post-install {
-
- set ini_file "${prefix}/etc/php.ini"
- set extension_file "${prefix}/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
- set eaccelerator_docs "http://eaccelerator.net/wiki/Settings"
-
- ui_msg "
- ***************************************************************************
- * To enable the eaccelerator extension in php, add or edit the following
- * lines in ${ini_file}:
- *
- * zend_extension=\"${extension_file}\"
- *
- * For more information and details about configuration settings, see
- * ${eaccelerator_docs}
- ***************************************************************************"
-}
-
variant shared_memory description {Enable shared memory access functions [only enable in trusted environments]} {
configure.args-append --with-eaccelerator-shared-memory
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090427/ba61a437/attachment.html>
More information about the macports-changes
mailing list