aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd2/Makefile
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-04-13 03:06:31 +0800
committerume <ume@FreeBSD.org>2001-04-13 03:06:31 +0800
commit4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f (patch)
treec97733264c4ce83adaa0f17a2a60943cc5e3589f /mail/cyrus-imapd2/Makefile
parent45d23dbc0ea7c12efbf38f0eeb56062a6bbbcfac (diff)
downloadfreebsd-ports-gnome-4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f.tar.gz
freebsd-ports-gnome-4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f.tar.zst
freebsd-ports-gnome-4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f.zip
Since imapd.conf is installed into ${PREFIX}/etc, mkimap should
refer ${PREFIX}/etc/imapd.conf
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