summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-07-28 15:22:07 +0000
committerschmonz <schmonz@pkgsrc.org>2004-07-28 15:22:07 +0000
commitc0f72f2dfaceba9c40c9dcf34d835c01c33f02dc (patch)
tree7a4946c830526f32e6e8a58afee1631610c6b77d /mail
parent22ae0de197ec76273d8e01f264cbe4933f2680dd (diff)
downloadpkgsrc-c0f72f2dfaceba9c40c9dcf34d835c01c33f02dc.tar.gz
Enable pkgviews installation. Iterate with "i" instead of "file"
to placate pkglint.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 4c1a972d39d..6f266b30c5d 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/07/24 22:45:15 recht Exp $
+# $NetBSD: Makefile,v 1.24 2004/07/28 15:22:07 schmonz Exp $
DISTNAME= dovecot-0.99.10.7
CATEGORIES= mail
@@ -14,6 +14,8 @@ MAINTAINER= tom@replic8.net
HOMEPAGE= http://www.dovecot.org/
COMMENT= Secure IMAP and POP3 server
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
USE_BUILDLINK3= YES
USE_LIBTOOL= YES
USE_PKGINSTALL= YES
@@ -74,11 +76,13 @@ PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user
EGDIR= ${PREFIX}/share/examples/dovecot
CONF_FILES= ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
+INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot share/examples/dovecot
+
post-configure:
@cd ${WRKSRC}; \
- for file in dovecot-example.conf; do \
- ${SED} ${FILES_SUBST_SED} $$file > $$file.new; \
- ${MV} -f $$file.new $$file; \
+ for i in dovecot-example.conf; do \
+ ${SED} ${FILES_SUBST_SED} $$i > $$i.new; \
+ ${MV} -f $$i.new $$i; \
done
post-install: