svn commit: r432593 - branches/2017Q1/www/zend-framework
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jan 27 20:57:57 UTC 2017
Author: sunpoet
Date: Fri Jan 27 20:57:56 2017
New Revision: 432593
URL: https://svnweb.freebsd.org/changeset/ports/432593
Log:
MFH: r432454
Fix MEMCACHE option
- Add LICENSE_FILE
- Add NO_ARCH
- Use USE_PHP=memcache instead of hard-coded databases/pecl-memcache
Approved by: portmgr (blanket)
Approved by: ports-secteam (feld)
Modified:
branches/2017Q1/www/zend-framework/Makefile
Directory Properties:
branches/2017Q1/ (props changed)
Modified: branches/2017Q1/www/zend-framework/Makefile
==============================================================================
--- branches/2017Q1/www/zend-framework/Makefile Fri Jan 27 20:54:52 2017 (r432592)
+++ branches/2017Q1/www/zend-framework/Makefile Fri Jan 27 20:57:56 2017 (r432593)
@@ -11,9 +11,11 @@ MAINTAINER= wg at FreeBSD.org
COMMENT= Framework for developing PHP web applications
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
CONFLICTS= ZendFramework-1.*
+NO_ARCH= yes
NO_BUILD= yes
USE_PHP= spl
WANT_PHP_WEB= yes
@@ -32,7 +34,7 @@ ODBC_DESC= Enable ODBC PDO support
SQLITE_DESC= Enable SQLite v3 PDO support
REQPHP_DESC= Install required PHP dependencies
OPTPHP_DESC= Install optional PHP dependencies
-MEMCACHE_DESC= Enable memcache support
+MEMCACHE_DESC= Enable memcache support
PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
@@ -49,9 +51,9 @@ USE_PHP+= ctype curl dom gd hash iconv m
USE_PHP+= bcmath bitset json posix
.endif
-.if ${PORT_OPTIONS:MMCACHE}
-RUN_DEPENDS+= pecl-memcache>=0:databases/pecl-memcache \
- pecl-memcached>=0:databases/pecl-memcached
+.if ${PORT_OPTIONS:MMEMCACHE}
+USE_PHP+= memcache
+RUN_DEPENDS+= pecl-memcached>=0:databases/pecl-memcached
.endif
.if ${PORT_OPTIONS:MMYSQL}
More information about the svn-ports-branches
mailing list