aboutsummaryrefslogtreecommitdiff
path: root/mail/qpopper
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2011-12-31 21:50:43 +0000
committerBeech Rintoul <beech@FreeBSD.org>2011-12-31 21:50:43 +0000
commitb4bf4985f68b991b6e788687b01890a500c1da1e (patch)
tree303d05bbf2b36cd1a7c4cd8e0c75bf29415a05e5 /mail/qpopper
parent3250dcc2506f94a714aebfa8ee75493e7a991eb6 (diff)
downloadports-b4bf4985f68b991b6e788687b01890a500c1da1e.tar.gz
ports-b4bf4985f68b991b6e788687b01890a500c1da1e.zip
Add qpopper.in
Notes
Notes: svn path=/head/; revision=288357
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/qpopper.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/qpopper/qpopper.in b/mail/qpopper/qpopper.in
new file mode 100644
index 000000000000..896c7852889f
--- /dev/null
+++ b/mail/qpopper/qpopper.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+# PROVIDE: qpopper
+# REQUIRE: NETWORKING SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable qpopper:
+# qpopper_enable="YES"
+#
+
+qpopper_enable=${qpopper_enable-"NO"}
+qpopper_flags=${qpopper_flags-""}
+
+. /etc/rc.subr
+
+name=qpopper
+rcvar=`set_rcvar`
+command=%%PREFIX%%/libexec/qpopper
+command_args="${qpopper_flags}"
+
+load_rc_config $name
+run_rc_command "$1"