2d4f2b9c75
PR: 211344 Submitted by: rene Sponsored by: Absolight
31 lines
801 B
Makefile
31 lines
801 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= memoize
|
|
PORTVERSION= 0.2.0
|
|
PORTREVISION= 2
|
|
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= php:ext tar:tgz
|
|
CONFIGURE_ARGS= --enable-memoize
|
|
IGNORE_WITH_PHP= 70
|
|
|
|
OPTIONS_DEFINE= MEMCACHED MEMORY
|
|
OPTIONS_DEFAULT=MEMORY
|
|
MEMCACHED_DESC= Enable memcached storage module
|
|
MEMORY_DESC= Enable the memoize memory storage module
|
|
|
|
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>
|