aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/miniChinput/Makefile32
-rw-r--r--chinese/miniChinput/distinfo1
-rw-r--r--chinese/miniChinput/pkg-descr5
-rw-r--r--chinese/miniChinput/pkg-message6
-rw-r--r--chinese/miniChinput/pkg-plist31
6 files changed, 76 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 9e58d0404738..6003a2402ce4 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -63,6 +63,7 @@
SUBDIR += linux-gtk
SUBDIR += lunar
SUBDIR += metalist
+ SUBDIR += miniChinput
SUBDIR += mkisofs
SUBDIR += moefonts-cid
SUBDIR += moettf
diff --git a/chinese/miniChinput/Makefile b/chinese/miniChinput/Makefile
new file mode 100644
index 000000000000..e1b2f26483b4
--- /dev/null
+++ b/chinese/miniChinput/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: zh-miniChinput
+# Date created: 19 Jul 2003
+# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= miniChinput
+PORTVERSION= 0.1.9
+CATEGORIES= chinese
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= minichinput
+
+MAINTAINER= statue@freebsd.sinica.edu.tw
+COMMENT= A tiny version of Chinput
+
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_XLIB= yes
+ALL_TARGET= all data
+INSTALL_TARGET= install data-install
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,make,${GMAKE},g' ${WRKSRC}/src/Makefile.in
+ @echo "install:" >> ${WRKSRC}/src/IMdkit/Makefile
+ @${REINPLACE_CMD} -e 's#$$(prefix)$$(imdir)/{gb,gbk,big5}#$$(prefix)$$(imdir)/gb $$(prefix)$$(imdir)/gbk $$(prefix)$$(imdir)/big5#g' ${WRKSRC}/ImmModules/turbo/Makefile.in
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/chinese/miniChinput/distinfo b/chinese/miniChinput/distinfo
new file mode 100644
index 000000000000..d33f21865540
--- /dev/null
+++ b/chinese/miniChinput/distinfo
@@ -0,0 +1 @@
+MD5 (miniChinput-0.1.9.tar.gz) = 7c767a0ae9cfcd1c1f6bad3931386175
diff --git a/chinese/miniChinput/pkg-descr b/chinese/miniChinput/pkg-descr
new file mode 100644
index 000000000000..17e352e263fd
--- /dev/null
+++ b/chinese/miniChinput/pkg-descr
@@ -0,0 +1,5 @@
+miniChinput is a tiny version of Chinput, which is a GPLed Chinese
+input method. miniChinput uses XIM protocol and provides several
+input modules for both GB and BIG5 encodings.
+
+WWW: http://sourceforge.net/projects/minichinput
diff --git a/chinese/miniChinput/pkg-message b/chinese/miniChinput/pkg-message
new file mode 100644
index 000000000000..5fb5c9d10b16
--- /dev/null
+++ b/chinese/miniChinput/pkg-message
@@ -0,0 +1,6 @@
+-----------------------------------------------
+Remember to set environment varible XMODIFIERS:
+ csh/tcsh: setenv XMODIFIERS @im=Chinput
+ sh/bash: export XMODIFIERS='@im=Chinput'
+and set LANG, LC_CTYPE to zh_CN.EUC.
+-----------------------------------------------
diff --git a/chinese/miniChinput/pkg-plist b/chinese/miniChinput/pkg-plist
new file mode 100644
index 000000000000..acfe4053bab9
--- /dev/null
+++ b/chinese/miniChinput/pkg-plist
@@ -0,0 +1,31 @@
+bin/chinput
+lib/Chinput/Chinput.ad
+lib/Chinput/im/TL_hzinput.so
+lib/Chinput/im/cce_hzinput.so
+lib/Chinput/im/cce_pinyin.so
+lib/Chinput/im/libimm_server.so
+lib/Chinput/im/libimmclient.a
+lib/Chinput/im/sys-big5.tab
+lib/Chinput/im/sys-gb.tab
+lib/Chinput/im/xl_intcode.so
+lib/Chinput/im/tl_sysphrase.big5.bin
+lib/Chinput/im/tl_sysphrase.gb.bin
+lib/Chinput/im/bin/cin2tab
+lib/Chinput/im/bin/txt2tab
+lib/Chinput/im/bin/tab2txt
+lib/Chinput/im/cce/pinyin.map
+lib/Chinput/im/cce/sysphrase.tab
+lib/Chinput/im/cce/usrphrase.tab
+lib/Chinput/im/cce/nqwb.tab
+lib/Chinput/im/cce/nqwb.tab.phr
+lib/Chinput/im/big5/cj.tab
+lib/Chinput/im/big5/pinyin.tab
+lib/Chinput/im/gb/CCDOSPY.tab
+lib/Chinput/im/gbk/gbkpy_mb.tab
+@dirrm lib/Chinput/im/big5
+@dirrm lib/Chinput/im/bin
+@dirrm lib/Chinput/im/cce
+@dirrm lib/Chinput/im/gb
+@dirrm lib/Chinput/im/gbk
+@dirrm lib/Chinput/im
+@dirrm lib/Chinput