mirror of
https://git.freebsd.org/ports.git
synced 2025-07-09 21:39:17 -04:00
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
33 lines
827 B
Makefile
33 lines
827 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= memoize
|
|
PORTVERSION= 0.2.0b1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= gasol.wu@gmail.com
|
|
COMMENT= PHP extension which transparently caches PHP functions
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= arraypad
|
|
GH_PROJECT= php-${PORTNAME}
|
|
|
|
USES= php:ext
|
|
IGNORE_WITH_PHP= 70 71 72
|
|
CONFIGURE_ARGS= --enable-memoize
|
|
|
|
OPTIONS_DEFINE= MEMCACHED MEMORY
|
|
OPTIONS_DEFAULT= MEMORY
|
|
MEMCACHED_DESC= Enable memcached storage module
|
|
MEMORY_DESC= Enable the memoize memory storage module
|
|
|
|
MEMCACHED_CONFIGURE_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>
|