summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorabs <abs>2009-12-31 16:56:18 +0000
committerabs <abs>2009-12-31 16:56:18 +0000
commit24cf3068463aa2686623efedb9e4c2e89a4c3389 (patch)
tree31ed5f45515de4cb5c3b2fea87ba52ba77f781fb /mail
parentc1979d29baa0290216aed6ddc121a95a5859b34b (diff)
downloadpkgsrc-24cf3068463aa2686623efedb9e4c2e89a4c3389.tar.gz
Install missing config/mimetypes.php file.
Fixes mime type when attaching an Office (MS or Open*.org) file. Prior to this commit would always be tagged as application/octet-stream. Bump pkgrevision
Diffstat (limited to 'mail')
-rw-r--r--mail/roundcube/Makefile7
-rw-r--r--mail/roundcube/PLIST3
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index 0fe42f01bdf..ae0b3b672e5 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2009/11/23 09:37:45 ghen Exp $
+# $NetBSD: Makefile,v 1.23 2009/12/31 16:56:18 abs Exp $
#
DISTNAME= roundcubemail-${RCVERSION}-dep
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/mail-${RCVERSION}-dep/-${VERSION}/}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
@@ -61,6 +62,8 @@ OWN_DIRS_PERMS+= ${VARBASE}/tmp/roundcube \
CONF_FILES= ${EGDIR}/roundcube.conf \
${PKG_SYSCONFDIR}/roundcube.conf
+CONF_FILES+= ${EGDIR}/mimetypes.php \
+ ${PKG_SYSCONFDIR}/mimetypes.php
CONF_FILES_PERMS+= ${EGDIR}/db.inc.php.dist \
${PKG_SYSCONFDIR}/db.inc.php \
${WWW_USER} ${WWW_GROUP} 0640
@@ -107,6 +110,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/index.php ${DESTDIR}${RCDIR}/
${INSTALL_DATA} ${WRKSRC}/robots.txt ${DESTDIR}${RCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/config/mimetypes.php \
+ ${DESTDIR}${EGDIR}/mimetypes.php
${INSTALL_DATA} ${WRKSRC}/config/db.inc.php.dist \
${DESTDIR}${EGDIR}/db.inc.php.dist
${INSTALL_DATA} ${WRKSRC}/config/main.inc.php.dist \
diff --git a/mail/roundcube/PLIST b/mail/roundcube/PLIST
index 6b999475cf9..38549ca8b86 100644
--- a/mail/roundcube/PLIST
+++ b/mail/roundcube/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2009/11/23 09:37:46 ghen Exp $
+@comment $NetBSD: PLIST,v 1.16 2009/12/31 16:56:18 abs Exp $
share/doc/roundcube/INSTALL
share/doc/roundcube/LICENSE
share/doc/roundcube/README
@@ -12,6 +12,7 @@ share/examples/roundcube/SQL/sqlite.initial.sql
share/examples/roundcube/SQL/sqlite.update.sql
share/examples/roundcube/db.inc.php.dist
share/examples/roundcube/main.inc.php.dist
+share/examples/roundcube/mimetypes.php
share/examples/roundcube/roundcube.conf
share/roundcube/.htaccess
share/roundcube/bin/decrypt.php