ports/www/pound/files/pound.in
Alexey Dokuchaev 64f54c662d - Fix a typo in PCRE_CONFIGURE_ENABLE knob
- Remove MSDAV option: this is no longer valid compiler flag in pound,
  for quite some time
- Do not pass -I to CFLAGS, it is already added (correctly) to CPPFLAGS
- Move initial CONFIGURE_ARGS after GNU_CONFIGURE where it logically belongs
- Move OPTIONS and helper knobs right above .include <bsd.port.options.mk>
- Remove ".if ${PORT_OPTIONS:MDOCS}" guard, not needed in post-staging
- Slightly beautify files/pound.in and pkg-descr while I'm here

PR:		199339
Submitted by:	maintainer
2015-04-10 14:31:00 +00:00

30 lines
529 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: %%NAME%%
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable `%%NAME%%':
#
# %%NAME%%_enable="YES"
#
# and be sure to configure %%PREFIX%%/etc/%%NAME%%.conf
. /etc/rc.subr
name="%%NAME%%"
rcvar=%%NAME%%_enable
command="%%PREFIX%%/sbin/$name"
pidfile="/var/run/$name.pid"
required_files="%%PREFIX%%/etc/$name.cfg"
# read configuration and set defaults
load_rc_config $name
: ${%%NAME%%_enable="NO"}
run_rc_command "$1"