summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoradrianp <adrianp>2009-02-10 21:24:51 +0000
committeradrianp <adrianp>2009-02-10 21:24:51 +0000
commit7237fbe36b838c993cdec49ec4246d2c4c122a01 (patch)
treef894b13ff6cd8087d8fe1c06bf2fe6d5345b8dfc /mail
parentf372392e0acdc2ef18030632eef065f5ecdd8312 (diff)
downloadpkgsrc-7237fbe36b838c993cdec49ec4246d2c4c122a01.tar.gz
Add php DOM support depending on the version of PHP in use
PKGREVISION++
Diffstat (limited to 'mail')
-rw-r--r--mail/roundcube/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index 578429b237e..f2ea5aa33ef 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2009/01/19 20:15:49 abs Exp $
+# $NetBSD: Makefile,v 1.15 2009/02/10 21:24:51 adrianp Exp $
#
DISTNAME= roundcubemail-${RCVERSION}-dep
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/mail-${RCVERSION}-dep/-${VERSION}/}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
@@ -25,6 +26,12 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_Mime>=1.3:../../mail/pear-Mail_Mime
DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2>=2.4.1:../../databases/pear-MDB2
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Auth_SASL-[0-9]*:../../mail/pear-Auth_SASL
+.if ${PKG_PHP_VERSION} == "4"
+DEPENDS+= ${PHP_PKG_PREFIX}-domxml>=4.3.3:../../textproc/php4-domxml
+.elif ${PKG_PHP_VERSION} == "5"
+DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php5-dom
+.endif
+
PKG_SYSCONFSUBDIR?= roundcube
WWW_USER?= ${APACHE_USER}