1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name php5-apc |
---|
5 | version 3.0.19 |
---|
6 | |
---|
7 | categories www net devel |
---|
8 | platforms darwin freebsd openbsd |
---|
9 | maintainers rodney.rehm@medialize.de openmaintainer |
---|
10 | homepage http://pecl.php.net/package/apc |
---|
11 | description PHP5 bindings for APC |
---|
12 | long_description \ |
---|
13 | The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. \ |
---|
14 | It was conceived of to provide a free, open, and robust framework for \ |
---|
15 | caching and optimizing PHP intermediate code. |
---|
16 | |
---|
17 | |
---|
18 | master_sites http://pecl.php.net/get/ |
---|
19 | checksums md5 951f43d2873e3572f5d5ae71a9b66f90 |
---|
20 | distname APC-${version} |
---|
21 | extract.suffix .tgz |
---|
22 | |
---|
23 | depends_lib port:php5 |
---|
24 | |
---|
25 | pre-configure { |
---|
26 | system "cd ${worksrcpath} && phpize" |
---|
27 | } |
---|
28 | |
---|
29 | destroot.destdir INSTALL_ROOT=${destroot} |
---|
30 | |
---|
31 | post-install { |
---|
32 | ui_msg "***************************************************************************" |
---|
33 | ui_msg "* To enable the memcache extension in php, add or edit the following *" |
---|
34 | ui_msg "* lines in ${prefix}/etc/php.ini: *" |
---|
35 | ui_msg "* *" |
---|
36 | ui_msg "* See http://php.net/manual/en/apc.configuration.php *" |
---|
37 | ui_msg "* for configuration instructions *" |
---|
38 | ui_msg "* *" |
---|
39 | ui_msg "* extension_dir=${prefix}/lib/php/extensions/no-debug-non-zts-20060613 *" |
---|
40 | ui_msg "* extension = apc.so *" |
---|
41 | ui_msg "***************************************************************************" |
---|
42 | } |
---|