summaryrefslogtreecommitdiff
path: root/inputmethod/canna/files
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2003-05-31 07:24:38 +0000
committeruebayasi <uebayasi>2003-05-31 07:24:38 +0000
commit931b5892a66c1a518833b263978177ed919a0454 (patch)
treefea0cbdb31bb3bfe7da6a5c9d031c8cf63402c92 /inputmethod/canna/files
parent5f55018954bfd916b224bae0ed677f8034d615cd (diff)
downloadpkgsrc-931b5892a66c1a518833b263978177ed919a0454.tar.gz
* Move Canna-server from inputmethod/canna-server to here.
* Put Makefile.common and Makefile.include for common definitions and inclusions. * Update to 3.6p3. From Toru Takamizu in PR#20208. Random summary of changes since 3.6p1. * CHANGES.jp: update * Fix sample files. * Install default.canna to cannaLibDir. * Fix cursor handling in tango-touroku. * Add "nami" symbol. * Prevent wrong learning. It had occured in two situations: 1. bubun kakutei at bunsetsus (probably) except in jishu-henkan mode 2. bubun muhenkan In both cases, all bunsetsus had been learned. This commit is only a quick hack. tanbunContext should be removed and new protocol should be added in future. * lib/RKC/wconvert.c(SendType11Request): stop buffer overrun * server/IR.h: define _WCHAR_t again after include "canna/RK.h" New direcroty hierarchy. Currently old hierarchy is default on stable branch. And document/code bug fixes.
Diffstat (limited to 'inputmethod/canna/files')
-rw-r--r--inputmethod/canna/files/canna25
1 files changed, 25 insertions, 0 deletions
diff --git a/inputmethod/canna/files/canna b/inputmethod/canna/files/canna
new file mode 100644
index 00000000000..f44c2a385e7
--- /dev/null
+++ b/inputmethod/canna/files/canna
@@ -0,0 +1,25 @@
+#! /bin/sh
+#
+# $NetBSD: canna,v 1.1 2003/05/31 07:24:40 uebayasi Exp $
+#
+# PROVIDE: canna
+# REQUIRE: DAEMON
+
+if [ -f /etc/rc.subr ]
+then
+ . /etc/rc.subr
+fi
+
+name="canna"
+rcvar=$name
+command="@PREFIX@/sbin/cannaserver"
+stop_cmd="@PREFIX@/sbin/cannakill"
+
+if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
+then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ @ECHO@ -n ' ${name}'
+ ${command} ${canna_flags} ${command_args}
+fi