Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2012 18:25:07 +0000 (UTC)
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306030 - head/www/zend-framework
Message-ID:  <201210171825.q9HIP7oC033139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glarkin
Date: Wed Oct 17 18:25:07 2012
New Revision: 306030
URL: http://svn.freebsd.org/changeset/ports/306030

Log:
  - Depend on the correct SQLite PHP port, depending on PHP_VER
  - Bumped PORTREVISION
  
  Feature safe:	yes

Modified:
  head/www/zend-framework/Makefile

Modified: head/www/zend-framework/Makefile
==============================================================================
--- head/www/zend-framework/Makefile	Wed Oct 17 18:07:28 2012	(r306029)
+++ head/www/zend-framework/Makefile	Wed Oct 17 18:25:07 2012	(r306030)
@@ -7,6 +7,7 @@
 
 PORTNAME=	ZendFramework
 PORTVERSION=	1.12.0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://packages.zendframework.com/releases/${DISTNAME}/
 
@@ -34,7 +35,8 @@ SQLITE_DESC=	Enable SQLite v3 PDO suppor
 REQPHP_DESC=	Install required PHP dependencies
 OPTPHP_DESC=	Install optional PHP dependencies
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
 .if ${PORT_OPTIONS:MDOCS}
 DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}-${PORTVERSION}-manual-en${EXTRACT_SUFX}
@@ -53,7 +55,12 @@ INSTALL_DIRS=	library extras/library ext
 .if ${PORT_OPTIONS:MREQPHP}
 USE_PHP+=	apc ctype curl dom gd hash iconv mbstring ldap mcrypt \
 		pcre pdo session simplexml soap \
-		sqlite3 wddx xml zlib
+		wddx xml zlib
+.if ${PHP_VER} == 52
+USE_PHP+=	sqlite
+.else
+USE_PHP+=	sqlite3
+.endif
 RUN_DEPENDS+=	pecl-memcache>=0:${PORTSDIR}/databases/pecl-memcache \
 		pecl-memcached>=0:${PORTSDIR}/databases/pecl-memcached
 .endif
@@ -131,4 +138,4 @@ post-install:
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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