Ticket #11713: Portfile

File Portfile, 1.5 KB (added by emory.smith@…, 18 years ago)

Portfile

Line 
1# $Id:
2PortSystem 1.0
3name              php5-memcache
4version           2.1.2
5
6categories        www net devel
7platforms         darwin freebsd openbsd
8maintainers       emory.smith@gmail.com openmaintainer@macports.org
9homepage          http://pecl.php.net/package/memcache
10description       PHP5 bindings for memcache
11long_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
17master_sites      http://pecl.php.net/get/
18checksums         md5 cfde0918360f3909a242c3211604ad46
19distname          memcache-${version}
20extract.suffix    .tgz
21
22depends_lib   port:memcached port:php5 port:zlib
23
24pre-configure {
25    cd ${worksrcpath}
26    system "phpize"
27}
28
29destroot.destdir INSTALL_ROOT=${destroot}
30
31post-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}