diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-09-20 04:08:47 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-09-20 04:08:47 +0800 |
commit | 567468f38f0f83dc04602cd55cd849c61bd2fd0a (patch) | |
tree | 27dddd2146aac22da6ad64a50d75d3c23a05754a /benchmarks/thrulay | |
parent | 930dc7c80d6bf14eb31c93f0fd2b1e25929eee38 (diff) | |
download | freebsd-ports-gnome-567468f38f0f83dc04602cd55cd849c61bd2fd0a.tar.gz freebsd-ports-gnome-567468f38f0f83dc04602cd55cd849c61bd2fd0a.tar.zst freebsd-ports-gnome-567468f38f0f83dc04602cd55cd849c61bd2fd0a.zip |
Add file forgoten in previous commit:
- Update to 0.9
- use rc.d script
- Update MASTER_SITES
- use PORTDOCS
- USE_LDCONFIG
- obey custom PREFIX
PR: 138366
Submitted by: Sylvio Cesar
Approved by: maintainer
Feature safe: yes
Feature safe: yes
Diffstat (limited to 'benchmarks/thrulay')
-rw-r--r-- | benchmarks/thrulay/files/thrulayd.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/benchmarks/thrulay/files/thrulayd.in b/benchmarks/thrulay/files/thrulayd.in new file mode 100644 index 000000000000..9161623427fb --- /dev/null +++ b/benchmarks/thrulay/files/thrulayd.in @@ -0,0 +1,23 @@ +#!/bin/sh + +# PROVIDE: thrulay + +# Add the following line to /etc/rc.conf to enable `thrulayd': +# +#thrulayd_enable="YES" +# + +. /etc/rc.subr + +name="thrulayd" +rcvar=`set_rcvar` + +# read settings, set default values +load_rc_config "${name}" +: ${thrulayd_enable="NO"} +: ${thrulayd_directory="%%PREFIX%%/sbin"} + +# path to your executable, might be bin, sbin, ... +command="${thrulayd_directory}/thrulayd" + +run_rc_command "$1" |