summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2006-04-16 17:17:48 +0000
committeradrianp <adrianp@pkgsrc.org>2006-04-16 17:17:48 +0000
commit8521d4f60e68e397d957418ffad5695ceb949bd7 (patch)
tree0b9f1a938ba1de31b2263b60ccd5d8f798fb3a11 /www
parentcce0bdf4ba7c93f4b77f0bfe6d7125b2c9f2c97e (diff)
downloadpkgsrc-8521d4f60e68e397d957418ffad5695ceb949bd7.tar.gz
Support PHP5
Original patch by Daniel Eggert in PR #33214
Diffstat (limited to 'www')
-rw-r--r--www/horde3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/horde3/Makefile b/www/horde3/Makefile
index 3bdf78ed158..d4f9861efdd 100644
--- a/www/horde3/Makefile
+++ b/www/horde3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/03/28 20:09:49 adrianp Exp $
+# $NetBSD: Makefile,v 1.23 2006/04/16 17:17:48 adrianp Exp $
DISTNAME= horde-3.1.1
CATEGORIES= www
@@ -10,6 +10,8 @@ COMMENT= PHP application framework
CONFLICTS+= horde-2.*
+.include "../../lang/php/phpversion.mk"
+
DEPENDS+= php-gettext>=4.3.3:../../devel/php-gettext
DEPENDS+= php-mcrypt>=4.3.3:../../security/php-mcrypt
DEPENDS+= php-iconv>=4.3.3:../../converters/php-iconv
@@ -18,7 +20,11 @@ DEPENDS+= pear-Log-[0-9]*:../../sysutils/pear-Log
DEPENDS+= pear-Mail_Mime-[0-9]*:../../mail/pear-Mail_Mime
DEPENDS+= pear-DB-[0-9]*:../../databases/pear-DB
DEPENDS+= ap-php>=4.3.3:../../www/ap-php
+.if ${PKG_PHP_VERSION} == "4"
DEPENDS+= php-domxml>=4.3.3:../../textproc/php4-domxml
+.elif ${PKG_PHP_VERSION} == "5"
+DEPENDS+= php-dom-[0-9]*:../../textproc/php5-dom
+.endif
DEPENDS+= php-zlib>=4.3.3:../../archivers/php-zlib
.include "../../mk/bsd.prefs.mk"