summaryrefslogtreecommitdiff
path: root/japanese/skkfep/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/skkfep/INSTALL')
-rw-r--r--japanese/skkfep/INSTALL39
1 files changed, 39 insertions, 0 deletions
diff --git a/japanese/skkfep/INSTALL b/japanese/skkfep/INSTALL
new file mode 100644
index 00000000000..9b11982df9a
--- /dev/null
+++ b/japanese/skkfep/INSTALL
@@ -0,0 +1,39 @@
+#! /bin/sh
+# $NetBSD: INSTALL,v 1.1 2001/10/31 23:29:37 zuntum Exp $
+
+conf=@PKGBASE@/etc/skk.conf
+
+case "$2" in
+POST-INSTALL)
+ # install skkserv port number
+ if grep '^skkserv[ ]' /etc/services >/dev/null; then
+ :
+ else
+ echo '
+skkserv 1178/tcp # SKK server' >>/etc/services
+ fi
+
+ # install skk.conf
+ if [ -f $conf ] && grep -v -e '^#' -e '^$' $conf >/dev/null; then
+ : file exists and it seems to have some configurations
+ else
+ cat <<'END' >$conf
+# skk.conf - configuration file for SKK client programs
+
+# Syntax
+# Lines start with '#' are comments.
+#
+# skkserv_host: <hostnme> # Host which skkserv is running on.
+# # default: localhost
+#
+# skkserv_port: <port> # TCP service name or port number of skkserv.
+# # default: skkserv
+#
+
+# skkserv_host: localhost
+# skkserv_port: skkserv
+# skkserv_port: 1178
+END
+ fi
+ ;;
+esac