From owner-svn-ports-all@freebsd.org Thu Oct 13 13:15:08 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79622C10642; Thu, 13 Oct 2016 13:15:08 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49A5D3B2; Thu, 13 Oct 2016 13:15:08 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9DDF7Ru048658; Thu, 13 Oct 2016 13:15:07 GMT (envelope-from wg@FreeBSD.org) Received: (from wg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9DDF7vD048657; Thu, 13 Oct 2016 13:15:07 GMT (envelope-from wg@FreeBSD.org) Message-Id: <201610131315.u9DDF7vD048657@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wg set sender to wg@FreeBSD.org using -f From: William Grzybowski Date: Thu, 13 Oct 2016 13:15:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423913 - head/www/zend-framework X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 13:15:08 -0000 Author: wg Date: Thu Oct 13 13:15:07 2016 New Revision: 423913 URL: https://svnweb.freebsd.org/changeset/ports/423913 Log: www/zend-framework: Make memcache dependency optional PR: 213384 Submitted by: Fredrik Eriksson Modified: head/www/zend-framework/Makefile Modified: head/www/zend-framework/Makefile ============================================================================== --- head/www/zend-framework/Makefile Thu Oct 13 13:08:09 2016 (r423912) +++ head/www/zend-framework/Makefile Thu Oct 13 13:15:07 2016 (r423913) @@ -3,7 +3,7 @@ PORTNAME= ZendFramework PORTVERSION= 2.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://packages.zendframework.com/releases/${DISTNAME}/ @@ -21,7 +21,7 @@ USES= gettext tar:tgz 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 @@ -32,6 +32,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 PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md @@ -47,13 +48,18 @@ USE_PHP+= sqlite .else USE_PHP+= sqlite3 .endif -RUN_DEPENDS+= pecl-memcache>=0:databases/pecl-memcache \ - pecl-memcached>=0:databases/pecl-memcached + .endif + .if ${PORT_OPTIONS:MOPTPHP} 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 +.endif + .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= pdo_mysql .endif