aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd2
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r--mail/cyrus-imapd2/Makefile7
-rw-r--r--mail/cyrus-imapd2/files/imapd.sh4
-rw-r--r--mail/cyrus-imapd2/pkg-message2
3 files changed, 10 insertions, 3 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
diff --git a/mail/cyrus-imapd2/files/imapd.sh b/mail/cyrus-imapd2/files/imapd.sh
index 5453fc5ba90e..5230d76473ae 100644
--- a/mail/cyrus-imapd2/files/imapd.sh
+++ b/mail/cyrus-imapd2/files/imapd.sh
@@ -1,5 +1,8 @@
#!/bin/sh
+# Start or stop cyrus-imapd
+# $FreeBSD$
+
case "$1" in
start)
if [ -x /usr/local/cyrus/bin/master -a \
@@ -11,7 +14,6 @@ start)
;;
stop)
kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd'
- echo -n ' imapd'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
diff --git a/mail/cyrus-imapd2/pkg-message b/mail/cyrus-imapd2/pkg-message
index 24125a8e21e4..e4429259e376 100644
--- a/mail/cyrus-imapd2/pkg-message
+++ b/mail/cyrus-imapd2/pkg-message
@@ -1,6 +1,6 @@
****************************************************************************
To setup mail spool, modify /usr/local/etc/imapd.conf appropriately,
-then run `/usr/local/cyrus/bin/mkimap /usr/local/etc/imapd.conf'.
+then run /usr/local/cyrus/bin/mkimap.
****************************************************************************