aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pecl-memcached/Makefile
blob: 96ca3419ddb9505c78bebd4287a8401cdf61cb48 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   memcached
PORTVERSION=    3.0.3
CATEGORIES= databases

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    PHP extension for interfacing with memcached via libmemcached library

LICENSE=    PHP30
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libmemcached.so:databases/libmemcached

OPTIONS_DEFINE= IGBINARY SASL
IGBINARY_DESC=  Binary serializer support

CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE}
IGNORE_WITH_PHP=56
USE_PHP=    json:build session:build
USES=       php:pecl pkgconfig

IGBINARY_CONFIGURE_ENABLE=  memcached-igbinary
IGBINARY_USE=       PHP=igbinary:build
SASL_CONFIGURE_ENABLE=  memcached-sasl
SASL_LIB_DEPENDS=   libsasl2.so:security/cyrus-sasl2

.include <bsd.port.mk>