aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd2/Makefile')
-rw-r--r--mail/cyrus-imapd2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile
index 516318122ba0..b4e214f26cf2 100644
--- a/mail/cyrus-imapd2/Makefile
+++ b/mail/cyrus-imapd2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cyrus-imapd
PORTVERSION= 2.0.12
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/
@@ -57,6 +57,11 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \
install-testing install-upgrade install mailing-list notes \
os overview questions readme sieve-protocol sieve
+post-patch:
+ @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \
+ > ${WRKSRC}/tools/mkimap.new
+ @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap
+
pre-install:
@ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8
@${PKGINSTALL} ${PKGNAME} PRE-INSTALL