a1993564e0
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
33 lines
797 B
Makefile
33 lines
797 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= memcached
|
|
PORTVERSION= 2.2.0
|
|
PORTREVISION= 5
|
|
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
|
|
OPTIONS_DEFAULT=SASL
|
|
IGBINARY_DESC= Binary serializer support
|
|
|
|
PORTSCOUT= limit:^2\.
|
|
|
|
CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE}
|
|
IGNORE_WITH_PHP=70 71 72
|
|
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>
|