[50191] trunk/dports/php/php5-eaccelerator/Portfile
Ryan Schmidt
ryandesign at macports.org
Wed Apr 29 23:28:31 PDT 2009
On Apr 27, 2009, at 09:29, alakazam at macports.org wrote:
> 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
Did you try whether the port still works? I haven't tried it yet but
I didn't think this would work because eAccelerator is not a normal
PHP extension but a Zend extension and therefore needs to be loaded
with the zend_extension directive and not the extension directive. I
was going to add an option to the php5extension portgroup to allow
you to specify what type of extension it is so that the correct
directive can be written to the .ini file.
> 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
> }
More information about the macports-dev
mailing list