1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name php5-eaccelerator |
---|
5 | version 0.9.5.3 |
---|
6 | |
---|
7 | categories www net devel |
---|
8 | platforms darwin freebsd openbsd |
---|
9 | maintainers nomaintainer |
---|
10 | homepage http://eaccelerator.net/ |
---|
11 | description php5 extension for PHP acceleration, optimization, and dynamic content caching |
---|
12 | long_description \ |
---|
13 | eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic \ |
---|
14 | content cache. It increases the performance of PHP scripts by caching them \ |
---|
15 | in their compiled state, so that the overhead of compiling is almost \ |
---|
16 | completely eliminated. It also optimizes scripts to speed up their \ |
---|
17 | execution. eAccelerator typically reduces server load and increases the \ |
---|
18 | speed of your PHP code by 1-10 times. |
---|
19 | |
---|
20 | master_sites http://bart.eaccelerator.net/source/${version}/ |
---|
21 | checksums md5 caf797223739516882f870342f74b935 \ |
---|
22 | sha1 6671a105497f41c4e93e0b84da516b72df159fc5 \ |
---|
23 | rmd160 9da55beec18e7a36761b5556d3bb4d5292d21650 |
---|
24 | distname eaccelerator-${version} |
---|
25 | extract.suffix .tar.bz2 |
---|
26 | extract.cmd bzip2 |
---|
27 | depends_lib port:php5 |
---|
28 | configure.args --with-php-config=${prefix}/bin/php-config |
---|
29 | |
---|
30 | pre-configure { |
---|
31 | cd ${worksrcpath} |
---|
32 | system "phpize" |
---|
33 | } |
---|
34 | |
---|
35 | destroot.destdir INSTALL_ROOT=${destroot} |
---|
36 | |
---|
37 | post-install { |
---|
38 | |
---|
39 | set ini_file "${prefix}/etc/php.ini" |
---|
40 | set extension_file "${prefix}/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so" |
---|
41 | set eaccelerator_docs "http://eaccelerator.net/wiki/Settings" |
---|
42 | |
---|
43 | ui_msg " |
---|
44 | *************************************************************************** |
---|
45 | * To enable the eaccelerator extension in php, add or edit the following |
---|
46 | * lines in ${ini_file}: |
---|
47 | * |
---|
48 | * zend_extension=\"${extension_file}\" |
---|
49 | * |
---|
50 | * For more information and details about configuration settings, see |
---|
51 | * ${eaccelerator_docs} |
---|
52 | ***************************************************************************" |
---|
53 | } |
---|