1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

- Use DATADIR macro in rc script as in we do in Makefile

Noticed by:	sat
Approved by:	maintainer via mail
This commit is contained in:
Rong-En Fan 2007-08-15 06:07:05 +00:00
parent 8bb7941353
commit 26225e59ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197716

View File

@ -21,11 +21,11 @@ load_rc_config "${name}"
# Set defaults
: ${binlsrv_enable:="NO"}
: ${binlsrv_infdir:="%%PREFIX%%/share/ris/inf"}
: ${binlsrv_infdir:="%%DATADIR%%/inf"}
pidfile="%%PID_FILE%%"
command="%%PYTHON_CMD%%"
command_args="%%PREFIX%%/share/ris/${name}.py -d"
command_args="%%DATADIR%%/${name}.py -d"
required_dirs="$binlsrv_infdir"
start_precmd="binlsrv_start_precmd"