summaryrefslogtreecommitdiff
path: root/mail/roundcube/Makefile
diff options
context:
space:
mode:
authoradam <adam>2011-01-13 12:19:19 +0000
committeradam <adam>2011-01-13 12:19:19 +0000
commitfb6ab56dd5f312fe97575cbc841dfb6ba6422d73 (patch)
tree04f859529103ab6873985996c928c2a6e1a49c4f /mail/roundcube/Makefile
parentb0bada32de0c553065c54b9479aa794218709da2 (diff)
downloadpkgsrc-fb6ab56dd5f312fe97575cbc841dfb6ba6422d73.tar.gz
Changes 0.5:
- Fix double-login/session issue - Wrap HTML parts with <html><body> and add Doctype declaration - Make rcube_autoload silently skip unknown classes - Fix charset detection in vcards with encoded values - Better CSS cursors for splitters - Show the same message only once - Fix namespaces handling - Add handling of multifolder METADATA/ANNOTATION responses - Fix handling of INBOX when personal namespace prefix is non-empty - Fix handling square brackets in links - Add description of 'use_https' option in main.inc.php.dist file
Diffstat (limited to 'mail/roundcube/Makefile')
-rw-r--r--mail/roundcube/Makefile38
1 files changed, 18 insertions, 20 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index 19168e07e50..7d940ef6e8d 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2010/10/06 21:40:35 pettai Exp $
-#
+# $NetBSD: Makefile,v 1.31 2011/01/13 12:19:19 adam Exp $
-DISTNAME= roundcubemail-${RCVERSION}-dep
-PKGNAME= ${DISTNAME:S/mail-${RCVERSION}-dep/-${VERSION}/}
+DISTNAME= roundcubemail-0.5-dep
+PKGNAME= ${DISTNAME:S/mail-/-/:S/-dep//}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
@@ -14,16 +13,15 @@ LICENSE= gnu-gpl-v2
USE_TOOLS+= pax
USE_LANGUAGES= # none
NO_BUILD= yes
-RCVERSION= 0.4.2
-VERSION= ${RCVERSION:S/-//}
-PKG_DESTDIR_SUPPORT= user-destdir
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= ${RCDIR}/plugins ${RCDIR}/program ${RCDIR}/skins
INSTALLATION_DIRS+= ${EGDIR}/SQL ${DOCDIR} ${RCDIR}/bin
.include "../../mk/bsd.prefs.mk"
.include "../../lang/php/phpversion.mk"
+DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_IDNA2>=0.1.0:../../net/pear-Net_IDNA2
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_SMTP>=1.4.2:../../net/pear-Net_SMTP
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_Mime>=1.7:../../mail/pear-Mail_Mime
DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2>=2.5.0:../../databases/pear-MDB2
@@ -31,13 +29,13 @@ DEPENDS+= ${PHP_PKG_PREFIX}-pear-Auth_SASL-[0-9]*:../../mail/pear-Auth_SASL
DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom
DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
-PKG_SYSCONFSUBDIR?= roundcube
+PKG_SYSCONFSUBDIR= roundcube
WWW_USER?= ${APACHE_USER}
WWW_GROUP?= ${APACHE_GROUP}
PKG_GROUPS_VARS+= WWW_GROUP
-PKG_USERS_VARS+= WWW_USER
+PKG_USERS_VARS= WWW_USER
BUILD_DEFS+= VARBASE WWW_USER WWW_GROUP APACHE_USER APACHE_GROUP
RCDIR= ${PREFIX}/share/roundcube
@@ -45,9 +43,9 @@ EGDIR= ${PREFIX}/share/examples/roundcube
DOCDIR= ${PREFIX}/share/doc/roundcube
PAX_DIRS= plugins program skins installer bin
-MESSAGE_SUBST+= DOCDIR=${DOCDIR:Q} PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
-MESSAGE_SUBST+= VARBASE=${VARBASE:Q} RCDIR=${RCDIR:Q}
-FILES_SUBST+= RCDIR=${RCDIR:Q}
+MESSAGE_SUBST+= DOCDIR=${DOCDIR} PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+MESSAGE_SUBST+= VARBASE=${VARBASE} RCDIR=${RCDIR}
+FILES_SUBST+= RCDIR=${RCDIR}
OWN_DIRS+= ${PKG_SYSCONFDIR}
OWN_DIRS_PERMS+= ${VARBASE}/log/roundcube \
@@ -112,13 +110,13 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/config/main.inc.php.dist \
${DESTDIR}${EGDIR}/main.inc.php.dist
-. for i in ${PAX_DIRS}
- cd ${WRKSRC}/${i} && ${PAX} -rw . ${DESTDIR}${RCDIR}/${i}
- ${FIND} ${DESTDIR}${RCDIR}/${i} -type f | \
- ${XARGS} ${CHMOD} ${SHAREMODE}
- ${FIND} ${DESTDIR}${RCDIR}/${i} -type d | \
- ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${RCDIR}/${i}
-. endfor
+.for i in ${PAX_DIRS}
+ cd ${WRKSRC}/${i} && ${PAX} -rw . ${DESTDIR}${RCDIR}/${i}
+ ${FIND} ${DESTDIR}${RCDIR}/${i} -type f | \
+ ${XARGS} ${CHMOD} ${SHAREMODE}
+ ${FIND} ${DESTDIR}${RCDIR}/${i} -type d | \
+ ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${RCDIR}/${i}
+.endfor
.include "../../mk/bsd.pkg.mk"