summaryrefslogtreecommitdiffstats
path: root/databases/php70-memcached/Makefile
blob: d1e5ff138058f075d234f899733749f997797e78 (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
# $FreeBSD$

PORTNAME=	memcached
PORTVERSION=	3.0.0b1
CATEGORIES=	databases
PKGNAMEPREFIX=	php70-

MAINTAINER=	townwear@gmail.com
COMMENT=	PHP extension for interfacing with memcached via libmemcached library

LICENSE=	PHP30
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libmemcached.so:databases/libmemcached

OPTIONS_DEFINE=	SASL

CONFIGURE_ARGS=	--disable-memcached-sasl --enable-memcached-json --with-libmemcached-dir=${LOCALBASE}
USES=		pkgconfig php:ext
USE_PHP=	session:build json:build
PHP_VER=	70
IGNORE_WITH_PHP=56

USE_GITHUB=	yes
GH_ACCOUNT=	php-memcached-dev
GH_PROJECT=	php-memcached
GH_TAGNAME=	c032fba

PHP_MODNAME=	memcached

SASL_CONFIGURE_ENABLE=	memcached-sasl
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2

.include <bsd.port.mk>
OpenPOWER on IntegriCloud