summaryrefslogtreecommitdiff
path: root/inputmethod/skkinput/INSTALL
diff options
context:
space:
mode:
authorseb <seb>2002-05-31 13:00:02 +0000
committerseb <seb>2002-05-31 13:00:02 +0000
commit680f2881a2f7a63e4417db37a5f5ac7a68d4b8d9 (patch)
tree43d22d046c033dc729ec370014ba513e6823d0a9 /inputmethod/skkinput/INSTALL
parent636067d77ed9605b76567e7d3a66efe87c7f296c (diff)
downloadpkgsrc-680f2881a2f7a63e4417db37a5f5ac7a68d4b8d9.tar.gz
Reimport of package skkinput from japanese/skkinput into inputmethod/skkinput.
This is part of the japanese category retirement. CATEGORIES adjusted.
Diffstat (limited to 'inputmethod/skkinput/INSTALL')
-rw-r--r--inputmethod/skkinput/INSTALL39
1 files changed, 39 insertions, 0 deletions
diff --git a/inputmethod/skkinput/INSTALL b/inputmethod/skkinput/INSTALL
new file mode 100644
index 00000000000..897ce217ba0
--- /dev/null
+++ b/inputmethod/skkinput/INSTALL
@@ -0,0 +1,39 @@
+#! /bin/sh
+# $NetBSD: INSTALL,v 1.1.1.1 2002/05/31 13:00:02 seb 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