Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 20:57:56 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r432593 - branches/2017Q1/www/zend-framework
Message-ID:  <201701272057.v0RKvulG087588@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701272057.v0RKvulG087588>