From 7237fbe36b838c993cdec49ec4246d2c4c122a01 Mon Sep 17 00:00:00 2001 From: adrianp Date: Tue, 10 Feb 2009 21:24:51 +0000 Subject: Add php DOM support depending on the version of PHP in use PKGREVISION++ --- mail/roundcube/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') 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} -- cgit v1.2.3