pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/roundcube Add php DOM support depending on the ve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c65aced05e0
branches:  trunk
changeset: 554232:1c65aced05e0
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Tue Feb 10 21:24:51 2009 +0000

description:
Add php DOM support depending on the version of PHP in use
PKGREVISION++

diffstat:

 mail/roundcube/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r fbccf6fda677 -r 1c65aced05e0 mail/roundcube/Makefile
--- a/mail/roundcube/Makefile   Tue Feb 10 21:11:13 2009 +0000
+++ b/mail/roundcube/Makefile   Tue Feb 10 21:24:51 2009 +0000
@@ -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-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}



Home | Main Index | Thread Index | Old Index