blob: d8af275c5d812b31ca8c3c89c24f649fbdbdd687 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= memoize
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= gasol.wu@gmail.com
COMMENT= PHP extension which transparently caches PHP functions
LICENSE= PHP301
USES= tar:tgz
USE_PHP= yes
USE_PHPEXT= yes
CONFIGURE_ARGS= --enable-memoize
IGNORE_WITH_PHP= 70
OPTIONS_DEFINE= APC MEMCACHED MEMORY
OPTIONS_DEFAULT=MEMORY
APC_DESC= Enable memoize APC module
MEMCACHED_DESC= Enable memcached storage module
MEMORY_DESC= Enable the memoize memory storage module
APC_CONFIGURE_ON= --enable-memoize-apc
APC_USE= PHP=apc
MEMCACHED_CONFIGURE_ON= --with-memoize-memcached
MEMCACHED_BUILD_DEPENDS=libmemcached>=0:databases/libmemcached
MEMCACHED_RUN_DEPENDS= libmemcached>=0:databases/libmemcached
MEMORY_CONFIGURE_OFF= --disable-memoize-memory
.include <bsd.port.mk>
|