pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/dovecot Enable pkgviews installation. Iterate wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19a8ea218a1d
branches:  trunk
changeset: 478701:19a8ea218a1d
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 28 15:22:07 2004 +0000

description:
Enable pkgviews installation. Iterate with "i" instead of "file"
to placate pkglint.

diffstat:

 mail/dovecot/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r b32e33957532 -r 19a8ea218a1d mail/dovecot/Makefile
--- a/mail/dovecot/Makefile     Wed Jul 28 15:20:55 2004 +0000
+++ b/mail/dovecot/Makefile     Wed Jul 28 15:22:07 2004 +0000
@@ -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 @@
 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 @@
 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:



Home | Main Index | Thread Index | Old Index