1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/databases/pecl-memcached/Makefile
Sunpoet Po-Chuan Hsieh 61cd7e4039 - Use USES=pkgconfig
2015-03-21 22:00:31 +00:00

35 lines
855 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= memcached
PORTVERSION= 2.2.0
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP extension for interfacing with memcached via libmemcached library
LICENSE= PHP30
LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached
OPTIONS_DEFINE= IGBINARY SASL
IGBINARY_DESC= Binary serializer support
CONFIGURE_ARGS= --disable-memcached-sasl --with-libmemcached-dir=${LOCALBASE}
USE_PHP= json session
USE_PHPEXT= yes
USE_PHPIZE= yes
USE_PHP_BUILD= yes
USES= pkgconfig tar:tgz
IGBINARY_CONFIGURE_ENABLE= memcached-igbinary
IGBINARY_USE= PHP=igbinary
SASL_CONFIGURE_ENABLE= memcached-sasl
SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
.include <bsd.port.mk>