aboutsummaryrefslogtreecommitdiff
path: root/devel/php-memoize/Makefile
blob: 5d1e82f54254efccf4666e49597872b43cef21a6 (plain) (blame)
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.0b1
DISTVERSIONPREFIX=	v
PORTREVISION=	3
CATEGORIES=	devel
PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}

MAINTAINER=	gasol.wu@gmail.com
COMMENT=	PHP extension which transparently caches PHP functions

DEPRECATED=	Works only with EOL php 5.6
EXPIRATION_DATE=	2018-12-30

USE_GITHUB=	yes
GH_ACCOUNT=	arraypad
GH_PROJECT=	php-${PORTNAME}

USES=		php:ext
IGNORE_WITH_PHP=	70 71 72 73
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>