1 | # $Id: |
---|
2 | PortSystem 1.0 |
---|
3 | name php5-memcache |
---|
4 | version 2.1.2 |
---|
5 | |
---|
6 | categories www net devel |
---|
7 | platforms darwin freebsd openbsd |
---|
8 | maintainers emory.smith@gmail.com openmaintainer@macports.org |
---|
9 | homepage http://pecl.php.net/package/memcache |
---|
10 | description PHP5 bindings for memcache |
---|
11 | long_description \ |
---|
12 | Memcached is a caching daemon designed especially for dynamic web \ |
---|
13 | applications to decrease database load by storing objects in memory. \ |
---|
14 | This extension allows you to work with memcached through handy OO \ |
---|
15 | and procedural interfaces. |
---|
16 | |
---|
17 | master_sites http://pecl.php.net/get/ |
---|
18 | checksums md5 cfde0918360f3909a242c3211604ad46 |
---|
19 | distname memcache-${version} |
---|
20 | extract.suffix .tgz |
---|
21 | |
---|
22 | depends_lib port:memcached port:php5 port:zlib |
---|
23 | |
---|
24 | pre-configure { |
---|
25 | cd ${worksrcpath} |
---|
26 | system "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 "* extension_dir=${prefix}/lib/php/extensions/no-debug-non-zts-20060613 *" |
---|
37 | ui_msg "* extension = memcache.so *" |
---|
38 | ui_msg "***************************************************************************" |
---|
39 | } |
---|