diff options
author | adrianp <adrianp@pkgsrc.org> | 2009-02-10 21:24:51 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2009-02-10 21:24:51 +0000 |
commit | 35e43a2eee3ece40895aa50354995eba046024e0 (patch) | |
tree | f894b13ff6cd8087d8fe1c06bf2fe6d5345b8dfc /mail | |
parent | 2070411a90521addf6e96b233500466ffee5005f (diff) | |
download | pkgsrc-35e43a2eee3ece40895aa50354995eba046024e0.tar.gz |
Add php DOM support depending on the version of PHP in use
PKGREVISION++
Diffstat (limited to 'mail')
-rw-r--r-- | mail/roundcube/Makefile | 9 |
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} |