aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorJean Milanez Melo <jmelo@FreeBSD.org>2006-06-06 14:28:03 +0000
committerJean Milanez Melo <jmelo@FreeBSD.org>2006-06-06 14:28:03 +0000
commit086e7b30b333df40fcd98e5032e11df369f2fb5f (patch)
tree7ceee8ef3e9a9fb35fc3918db571f54bfd1c4048 /mail
parent97d3208ce8e50759183363516ab81e4aa79440ea (diff)
downloadports-086e7b30b333df40fcd98e5032e11df369f2fb5f.tar.gz
ports-086e7b30b333df40fcd98e5032e11df369f2fb5f.zip
- Fix mailman start script to honour modified installation directory.
- Bump PORTREVISION. PR: ports/98169 Submitted by: Neil Darlow <neil@darlow.co.uk> Approved by: mnag (mentor)
Notes
Notes: svn path=/head/; revision=164612
Diffstat (limited to 'mail')
-rw-r--r--mail/mailman/Makefile2
-rw-r--r--mail/mailman/files/mailman.in6
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index f5e8c040e1de..a43d4b2f43cd 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mailman
PORTVERSION= 2.1.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.list.org/
diff --git a/mail/mailman/files/mailman.in b/mail/mailman/files/mailman.in
index 483ed2bdfdfb..f80ab32ba465 100644
--- a/mail/mailman/files/mailman.in
+++ b/mail/mailman/files/mailman.in
@@ -15,7 +15,7 @@
name="mailman"
rcvar=${name}_enable
-pidfile="%%PREFIX%%/mailman/data/master-qrunner.pid"
+pidfile="%%MAILMANDIR%%/data/master-qrunner.pid"
load_rc_config $name
@@ -26,11 +26,11 @@ stop_cmd=${name}_stop
extra_commands="reload"
mailman_start() {
- %%PREFIX%%/mailman/bin/mailmanctl -s -q start
+ %%MAILMANDIR%%/bin/mailmanctl -s -q start
}
mailman_stop() {
- %%PREFIX%%/mailman/bin/mailmanctl -q stop
+ %%MAILMANDIR%%/bin/mailmanctl -q stop
}
run_rc_command "$1"