diff options
author | ume <ume@FreeBSD.org> | 2001-04-07 02:53:09 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-04-07 02:53:09 +0800 |
commit | 4b9e17de8cfb7f71673bf90c619c264166c7b99a (patch) | |
tree | d3fdce3e899dfcb04122b4925cdc79de2b07c379 /mail/cyrus-imapd22/Makefile | |
parent | 8b45709801016bd1f056e59dd0f8e07764ae5831 (diff) | |
download | freebsd-ports-gnome-4b9e17de8cfb7f71673bf90c619c264166c7b99a.tar.gz freebsd-ports-gnome-4b9e17de8cfb7f71673bf90c619c264166c7b99a.tar.zst freebsd-ports-gnome-4b9e17de8cfb7f71673bf90c619c264166c7b99a.zip |
Since spool location is configurable by user, prevent making spool
at install time. Install mkimap script and show guidance, instead.
Reported by: David A. Koran <dak@solo.net>
Diffstat (limited to 'mail/cyrus-imapd22/Makefile')
-rw-r--r-- | mail/cyrus-imapd22/Makefile | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile index c562bd0340c5..516318122ba0 100644 --- a/mail/cyrus-imapd22/Makefile +++ b/mail/cyrus-imapd22/Makefile @@ -87,24 +87,9 @@ post-install: ${PREFIX}/etc/imapd.conf.dist ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ ${PREFIX}/etc/cyrus.conf.dist - ${WRKSRC}/tools/mkimap ${FILESDIR}/imapd.conf - ${CHOWN} -R cyrus:cyrus /var/imap - ${CHOWN} -R cyrus:cyrus /var/spool/imap - @${ECHO} "@cwd /var" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} imap" >>${TMPPLIST} -.for dir in user socket sieve quota proc msg log deliverdb/db deliverdb db - @${ECHO} "@exec ${MKDIR} imap/${dir}" >>${TMPPLIST} - @${ECHO} "@dirrm imap/${dir}" >>${TMPPLIST} -.endfor - @${ECHO} "@dirrm imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} -R cyrus:cyrus imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} -R g-w,o= imap" >>${TMPPLIST} - @${ECHO} "@mode u=rwx,go=" >>${TMPPLIST} - @${ECHO} "@exec ${MKDIR} spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHOWN} cyrus:cyrus spool/imap" >>${TMPPLIST} - @${ECHO} "@exec ${CHMOD} g-w,o= spool/imap" >>${TMPPLIST} - @${ECHO} "@dirrm spool/imap/stage." >>${TMPPLIST} - @${ECHO} "@dirrm spool/imap" >>${TMPPLIST} + ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \ + ${PREFIX}/cyrus/bin/mkimap @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |