diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-02-14 10:59:49 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-02-14 10:59:49 +0000 |
commit | 50ee3c22d9a0da9330db20fbbe4758d8bf4c3ea0 (patch) | |
tree | ce8ef64e1ce800c995e88624c0f19a03ae73ffe5 /mail | |
parent | Update SQLgrey to 1.8.0 (diff) |
Fix rc.d script
Requested by: maintainer
Notes
Notes:
svn path=/head/; revision=291327
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qpopper/Makefile | 1 | ||||
-rw-r--r-- | mail/qpopper/qpopper.in | 14 |
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" |