summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-01-16 13:08:14 +0000
committertaca <taca@pkgsrc.org>2012-01-16 13:08:14 +0000
commitf2c684e025fdacfb4a6c6fbd1ed0f0a45ff2d95f (patch)
treef73bd12374d1d8ddf6b1883c7524f6755abc4718 /mail
parent1c8118ef2a236a1c2b444836349d0a7c623ec3eb (diff)
downloadpkgsrc-f2c684e025fdacfb4a6c6fbd1ed0f0a45ff2d95f.tar.gz
Fix plugin's configuration files' name.
Bump PKGREVISION.
Diffstat (limited to 'mail')
-rw-r--r--mail/roundcube/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index f0c531e171a..06dfb2c18c0 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2012/01/14 15:36:24 taca Exp $
+# $NetBSD: Makefile,v 1.38 2012/01/16 13:08:14 taca Exp $
DISTNAME= roundcubemail-0.7.1-dep
PKGNAME= ${DISTNAME:S/mail-/-/:S/-dep//}
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
@@ -71,7 +72,7 @@ CONF_FILES_PERMS+= ${EGDIR}/main.inc.php.dist \
.for f in ${CONF_PLUGINS}
CONF_FILES_PERMS+= ${EGDIR}/plugins/${f}/config.inc.php \
- ${RCDIR}/plugins/${f}/config.iplnc.php \
+ ${RCDIR}/plugins/${f}/config.inc.php \
${WWW_USER} ${WWW_GROUP} 0640
.endfor
@@ -132,8 +133,9 @@ do-install:
.for f in ${CONF_PLUGINS}
${MKDIR} ${DESTDIR}${EGDIR}/plugins/${f}
- ${MV} ${DESTDIR}${RCDIR}/plugins/${f}/config.inc.php.dist \
- ${DESTDIR}${EGDIR}/plugins/${f}/config.inc.php
+ test -f ${DESTDIR}${EGDIR}/plugins/${f}/config.inc.php ] ||
+ ${MV} ${DESTDIR}${RCDIR}/plugins/${f}/config.inc.php.dist \
+ ${DESTDIR}${EGDIR}/plugins/${f}/config.inc.php
.endfor
.include "../../mk/bsd.pkg.mk"