Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 18:58:11 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432454 - head/www/zend-framework
Message-ID:  <201701251858.v0PIwBnS057382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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?201701251858.v0PIwBnS057382>