freebsd-ports/databases/pecl-memcached/Makefile
2019-12-08 17:32:16 +00:00

31 lines
793 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= memcached
PORTVERSION= 3.1.5
CATEGORIES= databases
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP extension for interfacing with memcached via libmemcached library
LICENSE= PHP30
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= libmemcached>=1.0.18:databases/libmemcached
LIB_DEPENDS= libmemcached.so:databases/libmemcached
USES= php:pecl pkgconfig
USE_PHP= json:build session:build
CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE}
OPTIONS_DEFINE= IGBINARY SASL
OPTIONS_DEFAULT=SASL
IGBINARY_DESC= Binary serializer support
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>