aboutsummaryrefslogtreecommitdiffstats
path: root/www/zend-framework
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-03-06 14:54:19 +0800
committerlinimon <linimon@FreeBSD.org>2007-03-06 14:54:19 +0800
commit144d68c6e6f6189d13ff54c84b1b9055aa8087da (patch)
tree9dfdb42ead5000a9895d96f1ce7060b2d2c23421 /www/zend-framework
parentc9f8aacf34bae745915c1c9480ba3f9922f19a67 (diff)
downloadfreebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.tar.gz
freebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.tar.zst
freebsd-ports-gnome-144d68c6e6f6189d13ff54c84b1b9055aa8087da.zip
Use the new facility of bsd.port.mk to be able to simplify the interaction
of USE_PHP and OPTIONS. PR: ports/106557 Submitted by: ale Hat: portmgr
Diffstat (limited to 'www/zend-framework')
-rw-r--r--www/zend-framework/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/www/zend-framework/Makefile b/www/zend-framework/Makefile
index 5395cb8054f8..fd3a3d599298 100644
--- a/www/zend-framework/Makefile
+++ b/www/zend-framework/Makefile
@@ -17,6 +17,7 @@ COMMENT= A framework for developing PHP web applications
NO_BUILD= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
+IGNORE_WITH_PHP=4
USE_GETTEXT= yes
@@ -34,9 +35,6 @@ OPTIONS= MYSQL "Install MySQL PDO support" Off \
.include <bsd.port.pre.mk>
-DEFAULT_PHP_VER=5
-IGNORE_WITH_PHP=4
-
DB_DEFINED= no
.if defined(WITH_MYSQL)
@@ -70,13 +68,10 @@ DB_DEFINED= yes
.endif
.if ${DB_DEFINED} == "yes"
-RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/php5-pdo \
- ${DB_DEPENDS}
+USE_PHP+= pdo
+RUN_DEPENDS+= ${DB_DEPENDS}
.endif
-# Fix USE_PHP after bsd.port.pre.mk
-.include "${PORTSDIR}/Mk/bsd.php.mk"
-
do-install:
@${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/* ${DATADIR}