diff --git a/databases/Makefile b/databases/Makefile index 2195d4216160..a8fba73af16c 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -656,6 +656,7 @@ SUBDIR += php71-sqlite3 SUBDIR += php72-dba SUBDIR += php72-interbase + SUBDIR += php72-memcache SUBDIR += php72-mysqli SUBDIR += php72-odbc SUBDIR += php72-pdo diff --git a/databases/php72-memcache/Makefile b/databases/php72-memcache/Makefile new file mode 100644 index 000000000000..bc3b6a732dc5 --- /dev/null +++ b/databases/php72-memcache/Makefile @@ -0,0 +1,36 @@ +# Created by: Gerrit Beine +# $FreeBSD$ + +PORTNAME= memcache +PORTVERSION= 3.0.8 +PORTREVISION= 1 +CATEGORIES= databases +PKGNAMEPREFIX= php71- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Memcached extension for PHP 7.2 + +LICENSE= PHP30 +LICENSE_FILE= ${WRKSRC}/LICENSE + +OPTIONS_DEFINE= EXAMPLES + +PORTSCOUT= skipv:start + +CONFIGURE_ARGS= --with-zlib-dir=/usr +IGNORE_WITH_PHP=56 70 71 +PHP_VER= 72 +USE_CSTD= gnu89 +USE_PHP= session:build zlib:build +USES= dos2unix php:ext + +GH_ACCOUNT= websupport-sk +GH_PROJECT= pecl-${PORTNAME} +GH_TAGNAME= 5041d2f +USE_GITHUB= yes + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/ + +.include diff --git a/databases/php72-memcache/distinfo b/databases/php72-memcache/distinfo new file mode 100644 index 000000000000..4602941d9c6f --- /dev/null +++ b/databases/php72-memcache/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1481566704 +SHA256 (websupport-sk-pecl-memcache-3.0.8-5041d2f_GH0.tar.gz) = b441255305e962cecfbb6e88501374a317aeb4dec706e3c2e7c780bb26bf5a96 +SIZE (websupport-sk-pecl-memcache-3.0.8-5041d2f_GH0.tar.gz) = 110448 diff --git a/databases/php72-memcache/pkg-descr b/databases/php72-memcache/pkg-descr new file mode 100644 index 000000000000..92a3b7bbd5a6 --- /dev/null +++ b/databases/php72-memcache/pkg-descr @@ -0,0 +1,8 @@ +Memcached is a caching daemon designed especially for dynamic web applications +to decrease database load by storing objects in memory. This extension allows +you to work with memcached through handy OO and procedural interfaces. + +Note that this port uses unofficial development from +https://github.com/websupport-sk/pecl-memcache (NON_BLOCKING_IO_php7 branch). + +WWW: https://pecl.php.net/package/memcache diff --git a/databases/php72-memcache/pkg-plist b/databases/php72-memcache/pkg-plist new file mode 100644 index 000000000000..5c859776e721 --- /dev/null +++ b/databases/php72-memcache/pkg-plist @@ -0,0 +1 @@ +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php