aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-server
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-01-14 16:57:23 +0800
committerdougb <dougb@FreeBSD.org>2012-01-14 16:57:23 +0800
commit4500e6f95eef76996051b447f00584b31e4abedf (patch)
treeaa85e69ac86658b87b78e09ff440d65dc0ff7518 /japanese/FreeWnn-server
parent9b5808c5a6c860e753267e93e9516b3301002f03 (diff)
downloadfreebsd-ports-gnome-4500e6f95eef76996051b447f00584b31e4abedf.tar.gz
freebsd-ports-gnome-4500e6f95eef76996051b447f00584b31e4abedf.tar.zst
freebsd-ports-gnome-4500e6f95eef76996051b447f00584b31e4abedf.zip
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other.
Diffstat (limited to 'japanese/FreeWnn-server')
-rw-r--r--japanese/FreeWnn-server/files/cwnn.sh.in2
-rw-r--r--japanese/FreeWnn-server/files/kwnn.sh.in2
-rw-r--r--japanese/FreeWnn-server/files/twnn.sh.in2
-rw-r--r--japanese/FreeWnn-server/files/wnn.sh.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/japanese/FreeWnn-server/files/cwnn.sh.in b/japanese/FreeWnn-server/files/cwnn.sh.in
index ba07c664fd15..721bc7d2e881 100644
--- a/japanese/FreeWnn-server/files/cwnn.sh.in
+++ b/japanese/FreeWnn-server/files/cwnn.sh.in
@@ -9,7 +9,7 @@
. /etc/rc.subr
name=cwnn
-rcvar=`set_rcvar`
+rcvar=cwnn_enable
command=%%PREFIX%%/bin/cWnn4/cserver
procname=%%PREFIX%%/bin/cWnn4/cserver
start_precmd=start_precmd
diff --git a/japanese/FreeWnn-server/files/kwnn.sh.in b/japanese/FreeWnn-server/files/kwnn.sh.in
index eeae088659e4..fe7c4faa51b8 100644
--- a/japanese/FreeWnn-server/files/kwnn.sh.in
+++ b/japanese/FreeWnn-server/files/kwnn.sh.in
@@ -9,7 +9,7 @@
. /etc/rc.subr
name=kwnn
-rcvar=`set_rcvar`
+rcvar=kwnn_enable
command=%%PREFIX%%/bin/kWnn4/kserver
procname=%%PREFIX%%/bin/kWnn4/kserver
start_precmd=start_precmd
diff --git a/japanese/FreeWnn-server/files/twnn.sh.in b/japanese/FreeWnn-server/files/twnn.sh.in
index 753d0b857023..88b91c9a7212 100644
--- a/japanese/FreeWnn-server/files/twnn.sh.in
+++ b/japanese/FreeWnn-server/files/twnn.sh.in
@@ -9,7 +9,7 @@
. /etc/rc.subr
name=twnn
-rcvar=`set_rcvar`
+rcvar=twnn_enable
command=%%PREFIX%%/bin/cWnn4/tserver
procname=%%PREFIX%%/bin/cWnn4/tserver
start_precmd=start_precmd
diff --git a/japanese/FreeWnn-server/files/wnn.sh.in b/japanese/FreeWnn-server/files/wnn.sh.in
index 1a76d02351d3..1656fd9f4da4 100644
--- a/japanese/FreeWnn-server/files/wnn.sh.in
+++ b/japanese/FreeWnn-server/files/wnn.sh.in
@@ -9,7 +9,7 @@
. /etc/rc.subr
name=wnn
-rcvar=`set_rcvar`
+rcvar=wnn_enable
command=%%PREFIX%%/bin/Wnn4/jserver
procname=%%PREFIX%%/bin/Wnn4/jserver
start_precmd=start_precmd