svn commit: r432454 - head/www/zend-framework
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jan 25 18:58:12 UTC 2017
Author: sunpoet
Date: Wed Jan 25 18:58:10 2017
New Revision: 432454
URL: https://svnweb.freebsd.org/changeset/ports/432454
Log:
Fix MEMCACHE option
- Add LICENSE_FILE
- Add NO_ARCH
- Use USE_PHP=memcache instead of hard-coded databases/pecl-memcache
Approved by: portmgr (blanket)
MFH: 2017Q1
Modified:
head/www/zend-framework/Makefile
Modified: head/www/zend-framework/Makefile
==============================================================================
--- head/www/zend-framework/Makefile Wed Jan 25 18:42:26 2017 (r432453)
+++ head/www/zend-framework/Makefile Wed Jan 25 18:58:10 2017 (r432454)
@@ -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-all
mailing list