mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 14:40:32 -04:00
- 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
30 lines
529 B
Bash
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"
|