aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qpopper
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-02-14 18:59:49 +0800
committerdougb <dougb@FreeBSD.org>2012-02-14 18:59:49 +0800
commit8fe96f5965564a48f216380fffdd71a397cba0ab (patch)
treef5287be99be714b904cafe7ceba662dda6554273 /mail/qpopper
parentb8910b0fb2fa93e2dac57638bc8781fcdc058557 (diff)
downloadfreebsd-ports-gnome-8fe96f5965564a48f216380fffdd71a397cba0ab.tar.gz
freebsd-ports-gnome-8fe96f5965564a48f216380fffdd71a397cba0ab.tar.zst
freebsd-ports-gnome-8fe96f5965564a48f216380fffdd71a397cba0ab.zip
Fix rc.d script
Requested by: maintainer
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile1
-rw-r--r--mail/qpopper/qpopper.in14
2 files changed, 8 insertions, 7 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 153925fb7bb9..550fa6b754b2 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qpopper
PORTVERSION= 4.1.0
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
http://core.ring.gr.jp/archives/net/mail/qpopper/
diff --git a/mail/qpopper/qpopper.in b/mail/qpopper/qpopper.in
index 312d71802690..a1b4e15583e8 100644
--- a/mail/qpopper/qpopper.in
+++ b/mail/qpopper/qpopper.in
@@ -1,23 +1,23 @@
#!/bin/sh
+
+# $FreeBSD$
#
# PROVIDE: qpopper
# REQUIRE: SERVERS
# KEYWORD: shutdown
-
#
# Add the following lines to /etc/rc.conf to enable qpopper:
# qpopper_enable="YES"
-#
. /etc/rc.subr
-qpopper_enable=${qpopper_enable-"NO"}
-qpopper_flags=${qpopper_flags-""}
-
name=qpopper
rcvar=qpopper_enable
-command=%%PREFIX%%/libexec/qpopper
-command_args="${qpopper_flags}"
load_rc_config $name
+
+qpopper_enable=${qpopper_enable:-"NO"}
+
+command=%%PREFIX%%/libexec/qpopper
+
run_rc_command "$1"