1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Fix rc.d script

Requested by: maintainer
This commit is contained in:
Doug Barton 2012-02-14 10:59:49 +00:00
parent e24792fc91
commit 50ee3c22d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291327
2 changed files with 8 additions and 7 deletions

View File

@ -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/

View File

@ -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"