[Midnightbsd-cvs] mports [24949] trunk/www/zend-framework/Makefile: update dependencies
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Feb 9 17:02:24 EST 2019
Revision: 24949
http://svnweb.midnightbsd.org/mports/?rev=24949
Author: laffer1
Date: 2019-02-09 17:02:24 -0500 (Sat, 09 Feb 2019)
Log Message:
-----------
update dependencies
Modified Paths:
--------------
trunk/www/zend-framework/Makefile
Modified: trunk/www/zend-framework/Makefile
===================================================================
--- trunk/www/zend-framework/Makefile 2019-02-09 22:00:38 UTC (rev 24948)
+++ trunk/www/zend-framework/Makefile 2019-02-09 22:02:24 UTC (rev 24949)
@@ -2,7 +2,7 @@
PORTNAME= ZendFramework
PORTVERSION= 2.3.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://packages.zendframework.com/releases/${DISTNAME}/
@@ -10,9 +10,11 @@
COMMENT= Framework for developing PHP web applications
LICENSE= bsd3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
CONFLICTS= ZendFramework-1.*
+NO_ARCH= yes
NO_BUILD= yes
USE_PHP= spl
WANT_PHP_WEB= yes
@@ -20,7 +22,7 @@
SUB_FILES= pkg-message
-OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP
+OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE
OPTIONS_DEFAULT=REQPHP
MYSQL_DESC= Enable MySQL PDO support
@@ -31,6 +33,7 @@
SQLITE_DESC= Enable SQLite v3 PDO support
REQPHP_DESC= Install required PHP dependencies
OPTPHP_DESC= Install optional PHP dependencies
+MEMCACHE_DESC= Enable memcache support
PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
@@ -40,18 +43,17 @@
# if chosen by the user.
.if ${PORT_OPTIONS:MREQPHP}
USE_PHP+= ctype curl dom gd hash iconv mbstring ldap mcrypt \
- pcre pdo session simplexml soap wddx xml zlib
-.if ${PHP_VER} == 52
-USE_PHP+= sqlite
-.else
-USE_PHP+= sqlite3
+ opcache pcre pdo session simplexml soap sqlite3 wddx xml zlib
.endif
-RUN_DEPENDS+= pecl-memcache>=0:${PORTSDIR}/databases/pecl-memcache
-.endif
+
.if ${PORT_OPTIONS:MOPTPHP}
USE_PHP+= bcmath bitset json posix
.endif
+.if ${PORT_OPTIONS:MMEMCACHE}
+USE_PHP+= memcache memcached
+.endif
+
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= pdo_mysql
.endif
More information about the Midnightbsd-cvs
mailing list