summaryrefslogtreecommitdiff
path: root/databases/php-memcached
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-03-08 19:48:41 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-03-08 19:48:41 +0000
commita1993564e04f29ecbaa05be740547c8677d423cd (patch)
treea942b9de6ec3ced252f123bf8a905b18d685aa72 /databases/php-memcached
parentnet/pear-Net_Sieve: Update to 1.4.3 (diff)
Introduce PHP flavors.
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
Notes
Notes: svn path=/head/; revision=463917
Diffstat (limited to 'databases/php-memcached')
-rw-r--r--databases/php-memcached/Makefile33
-rw-r--r--databases/php-memcached/distinfo3
-rw-r--r--databases/php-memcached/pkg-descr8
3 files changed, 44 insertions, 0 deletions
diff --git a/databases/php-memcached/Makefile b/databases/php-memcached/Makefile
new file mode 100644
index 000000000000..ae89a4f7ec06
--- /dev/null
+++ b/databases/php-memcached/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= memcached
+PORTVERSION= 3.0.0b1
+CATEGORIES= databases
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
+
+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
+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>
diff --git a/databases/php-memcached/distinfo b/databases/php-memcached/distinfo
new file mode 100644
index 000000000000..3913fe6ca215
--- /dev/null
+++ b/databases/php-memcached/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479968492
+SHA256 (php-memcached-dev-php-memcached-3.0.0b1-c032fba_GH0.tar.gz) = 214354faaa002d52c4ce80a5e56e27b1c35bba48ff3afc3ef6d9f0630b7cf5c4
+SIZE (php-memcached-dev-php-memcached-3.0.0b1-c032fba_GH0.tar.gz) = 82011
diff --git a/databases/php-memcached/pkg-descr b/databases/php-memcached/pkg-descr
new file mode 100644
index 000000000000..5a1a885e88a0
--- /dev/null
+++ b/databases/php-memcached/pkg-descr
@@ -0,0 +1,8 @@
+memcached is a high-performance, distributed memory object caching
+system, generic in nature, but intended for use in speeding up dynamic
+web applications by alleviating database load.
+
+This extension uses the libmemcached library to provide the API for
+communicating with memcached servers.
+
+WWW: https://pecl.php.net/package/memcached