aboutsummaryrefslogtreecommitdiff
path: root/japanese/kinput2-freewnn
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/kinput2-freewnn')
-rw-r--r--japanese/kinput2-freewnn/Makefile1
-rw-r--r--japanese/kinput2-freewnn/files/patch-kinput2.ad14
-rw-r--r--japanese/kinput2-freewnn/pkg-descr8
-rw-r--r--japanese/kinput2-freewnn/pkg-message8
4 files changed, 23 insertions, 8 deletions
diff --git a/japanese/kinput2-freewnn/Makefile b/japanese/kinput2-freewnn/Makefile
index 4d6e69987024..75d795f105c6 100644
--- a/japanese/kinput2-freewnn/Makefile
+++ b/japanese/kinput2-freewnn/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kinput2
PORTVERSION= 3.1
+PORTREVISION= 1
PKGNAMESUFFIX= ${INPUT_METHOD}
CATEGORIES= japanese x11
MASTER_SITES= ftp://ftp.sra.co.jp/pub/x11/kinput2/
diff --git a/japanese/kinput2-freewnn/files/patch-kinput2.ad b/japanese/kinput2-freewnn/files/patch-kinput2.ad
new file mode 100644
index 000000000000..ac578576b9fa
--- /dev/null
+++ b/japanese/kinput2-freewnn/files/patch-kinput2.ad
@@ -0,0 +1,14 @@
+--- cmd/Kinput2.ad.orig Tue May 20 14:13:43 2003
++++ cmd/Kinput2.ad Tue May 20 14:14:46 2003
+@@ -34,7 +34,10 @@
+ !!
+ !*CcWnn.Jserver: "primary-jserver-host"
+ !*CcWnn.jserver2nd: "secondary-jserver-host-if-any"
+-*CcWnn.ccdef: ccdef.kinput2
++!!! Uncomment below if you like legacy key bindings
++!*CcWnn.ccdef: ccdef.kinput2
++!!! Anc comment below if you like legacy key bindings
++*CcWnn.ccdef: ccdef.kinput2.egg
+ !*CcWnn.wnnEnvrc4: "wnenvrc-file-for-Wnn4"
+ !*CcWnn.wnnEnvrc6: "wnenvrc-file-for-Wnn6"
+ !!
diff --git a/japanese/kinput2-freewnn/pkg-descr b/japanese/kinput2-freewnn/pkg-descr
index 431e87fb6c34..854c74764bbe 100644
--- a/japanese/kinput2-freewnn/pkg-descr
+++ b/japanese/kinput2-freewnn/pkg-descr
@@ -5,10 +5,12 @@ sends a request to kinput2. Kinput2 receives the request, does
kana-kanji conversion, and sends the converted text back to the
client.
-The port supports FreeWnn. Those looking for egg-key-binding
-other than default binding, try as follows:
+The port supports FreeWnn.
- % kinput2 -ccdef ccdef.kinput2.egg
+(NOTICE)
+Default key-binding is changed to "egg" key-binding by defining
+*CcWnn.ccdef: ccdef.kinput2.egg
+in ${X11BASE}/lib/X11/app-defaults/Kinput2.
-- S. Taoka
<taoka@FreeBSD.org>
diff --git a/japanese/kinput2-freewnn/pkg-message b/japanese/kinput2-freewnn/pkg-message
index 97668d99055e..9c2af0932879 100644
--- a/japanese/kinput2-freewnn/pkg-message
+++ b/japanese/kinput2-freewnn/pkg-message
@@ -1,7 +1,5 @@
############################################################
-If you want to use Egg key binding on kinput2, then
-you should run
-
-kinput2 -ccdef ccdef.kinput2.egg
-
+Default key-binding is changed to "egg" key-binding by defining
+*CcWnn.ccdef: ccdef.kinput2.egg
+in ${X11BASE}/lib/X11/app-defaults/Kinput2.
############################################################"