summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 11:46:46 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 11:46:46 +0800
commit570b8345a61414a4f5e8a1651acd54b8410d88db (patch)
treef4ce181414f8ddbcbd5f41d47fe49f007a6696b4 /chinese
parenta556168f0817afcb2300bbdffc6ef52b24056c7b (diff)
downloadmarcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.tar
marcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.tar.gz
marcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.tar.bz2
marcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.tar.lz
marcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.tar.xz
marcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.tar.zst
marcuscom-ports-570b8345a61414a4f5e8a1651acd54b8410d88db.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7390 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'chinese')
-rw-r--r--chinese/scim-chewing/Makefile37
-rw-r--r--chinese/scim-chewing/distinfo3
-rw-r--r--chinese/scim-chewing/pkg-descr8
-rw-r--r--chinese/scim-chewing/pkg-message20
-rw-r--r--chinese/scim-chewing/pkg-plist11
-rw-r--r--chinese/scim-pinyin/Makefile68
-rw-r--r--chinese/scim-pinyin/distinfo3
-rw-r--r--chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui23
-rw-r--r--chinese/scim-pinyin/pkg-descr7
-rw-r--r--chinese/scim-pinyin/pkg-message20
-rw-r--r--chinese/scim-pinyin/pkg-plist37
-rw-r--r--chinese/scim-tables/Makefile36
-rw-r--r--chinese/scim-tables/distinfo3
-rw-r--r--chinese/scim-tables/files/patch-Makefile.in20
-rw-r--r--chinese/scim-tables/files/patch-icons-Makefile.in54
-rw-r--r--chinese/scim-tables/files/patch-tables-Makefile.in11
-rw-r--r--chinese/scim-tables/files/patch-tables-zh-Makefile.in11
-rw-r--r--chinese/scim-tables/pkg-descr8
-rw-r--r--chinese/scim-tables/pkg-message20
-rw-r--r--chinese/scim-tables/pkg-plist35
20 files changed, 435 insertions, 0 deletions
diff --git a/chinese/scim-chewing/Makefile b/chinese/scim-chewing/Makefile
new file mode 100644
index 000000000..dbd256e39
--- /dev/null
+++ b/chinese/scim-chewing/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: zh-scim-chewing
+# Date created: 4 Dec 2004
+# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim-chewing
+PORTVERSION= 0.3.1
+PORTREVISION= 1
+CATEGORIES= chinese
+MASTER_SITES= http://chewing.csie.net/download/scim/
+
+MAINTAINER= yinjieh@csie.nctu.edu.tw
+COMMENT= SCIM chewing Chinese input methods
+
+RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
+LIB_DEPENDS= chewing.3:${PORTSDIR}/chinese/libchewing
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV+= CPPFLAGS="-D__STDC_ISO_10646__ -I${LOCALBASE}/include"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/1.0.0/,/,g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's,@DATADIRNAME@,share,g' ${WRKSRC}/po/Makefile.in.in
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+ @${ECHO}
+
+.include <bsd.port.mk>
diff --git a/chinese/scim-chewing/distinfo b/chinese/scim-chewing/distinfo
new file mode 100644
index 000000000..d0762c010
--- /dev/null
+++ b/chinese/scim-chewing/distinfo
@@ -0,0 +1,3 @@
+MD5 (scim-chewing-0.3.1.tar.gz) = 7231e143e408b96f8374be9026ce6184
+SHA256 (scim-chewing-0.3.1.tar.gz) = ee88aa2e9ed6b970b01938d1fc8aeca200b866eee380f03623973820f45d75cb
+SIZE (scim-chewing-0.3.1.tar.gz) = 434230
diff --git a/chinese/scim-chewing/pkg-descr b/chinese/scim-chewing/pkg-descr
new file mode 100644
index 000000000..35e93d233
--- /dev/null
+++ b/chinese/scim-chewing/pkg-descr
@@ -0,0 +1,8 @@
+SCIM Chinese table based input methods: Array30, CangJie, Cantonese, Dayi,
+Erbi, EZ, Jyutping, Simplex, Wubi, Ziranma, ZhuYin
+
+Smart Common Input Method platform, in short SCIM, is a development platform to
+make Input Method developers live easier. It has very clear architecture and
+very simple programming interface.
+
+WWW: http://scim.freedesktop.org
diff --git a/chinese/scim-chewing/pkg-message b/chinese/scim-chewing/pkg-message
new file mode 100644
index 000000000..40e04afc9
--- /dev/null
+++ b/chinese/scim-chewing/pkg-message
@@ -0,0 +1,20 @@
+--------------------------------------------------------------------
+Remember to set environment varible XMODIFIERS:
+
+ csh/tcsh: setenv XMODIFIERS @im=SCIM
+ sh/bash: export XMODIFIERS='@im=SCIM'
+
+and set LANG, LC_CTYPE to one of the following values:
+
+ Simplified Chinese:
+ zh_CN.UTF-8, zh_CN.GB18030, zh_CN.GBK, zh_CN.GB2312, zh_CN.eucCN
+
+ Traditional Chinese:
+ zh_TW.UTF-8, zh_TW.Big5
+ zh_HK.UTF-8, zh_HK.Big5-HKSCS
+
+To start the SCIM input method daemon, use command:
+
+ scim -d
+
+--------------------------------------------------------------------
diff --git a/chinese/scim-chewing/pkg-plist b/chinese/scim-chewing/pkg-plist
new file mode 100644
index 000000000..d43187c74
--- /dev/null
+++ b/chinese/scim-chewing/pkg-plist
@@ -0,0 +1,11 @@
+lib/scim-1.0/IMEngine/chewing.a
+lib/scim-1.0/IMEngine/chewing.la
+lib/scim-1.0/IMEngine/chewing.so
+lib/scim-1.0/SetupUI/chewing-imengine-setup.a
+lib/scim-1.0/SetupUI/chewing-imengine-setup.la
+lib/scim-1.0/SetupUI/chewing-imengine-setup.so
+share/locale/zh_TW/LC_MESSAGES/scim-chewing.mo
+share/scim/icons/scim-chewing-swap-colors.png
+share/scim/icons/scim-chewing.png
+@dirrmtry lib/scim-1.0/IMEngine
+@dirrmtry lib/scim-1.0/SetupUI
diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile
new file mode 100644
index 000000000..ce2a1b43e
--- /dev/null
+++ b/chinese/scim-pinyin/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: zh-scim-chinese
+# Date created: 20 May 2004
+# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim-pinyin
+PORTVERSION= 0.5.91
+PORTREVISION= 2
+CATEGORIES= chinese
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=scim
+
+MAINTAINER= gaoj@cpsc.ucalgary.ca
+COMMENT= SCIM Chinese Smart Pinyin input method
+
+BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GNOME= gnomehack lthack
+USE_ICONV= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+
+CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500035
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
+RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
+ LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}"
+.else
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+.endif
+
+PLIST_SUB= SKIM="@comment "
+
+pre-fetch:
+.if exists(${LOCALBASE}/bin/skim)
+ @${ECHO_MSG} "===> Skim is detected, support enabled."
+.else
+ @${ECHO_MSG} "Define WITH_SKIM to enable skim support."
+.endif
+
+.if exists(${LOCALBASE}/bin/skim)
+WITH_SKIM= yes
+.endif
+
+.if !defined(WITH_SKIM)
+CONFIGURE_ARGS+=--disable-skim-support
+.else
+BUILD_DEPENDS+= skim:${PORTSDIR}/textproc/skim
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
+PLIST_SUB= SKIM="" PREFIX="${PREFIX}"
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+ @${ECHO}
+
+.include <bsd.port.post.mk>
diff --git a/chinese/scim-pinyin/distinfo b/chinese/scim-pinyin/distinfo
new file mode 100644
index 000000000..0fe21026b
--- /dev/null
+++ b/chinese/scim-pinyin/distinfo
@@ -0,0 +1,3 @@
+MD5 (scim-pinyin-0.5.91.tar.gz) = fb96d3545090d7681ea03edaced4eccb
+SHA256 (scim-pinyin-0.5.91.tar.gz) = 9b6b24af841cbf0353b919df7f56be931850fccf3b914172af7a39b6db726653
+SIZE (scim-pinyin-0.5.91.tar.gz) = 5492055
diff --git a/chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui b/chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui
new file mode 100644
index 000000000..44d6e2b45
--- /dev/null
+++ b/chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui
@@ -0,0 +1,23 @@
+--- skim/setupui/smartpinyinui.ui~ Wed Mar 23 11:45:03 2005
++++ skim/setupui/smartpinyinui.ui Fri Feb 10 21:05:09 2006
+@@ -863,20 +863,4 @@
+ <tabstop>kcfg__IMEngine_Pinyin_DisablePhraseKey</tabstop>
+ </tabstops>
+ <layoutdefaults spacing="6" margin="11"/>
+-<includehints>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+-</includehints>
+ </UI>
diff --git a/chinese/scim-pinyin/pkg-descr b/chinese/scim-pinyin/pkg-descr
new file mode 100644
index 000000000..453c9feab
--- /dev/null
+++ b/chinese/scim-pinyin/pkg-descr
@@ -0,0 +1,7 @@
+SCIM Chinese Smart Pinyin input method
+
+Smart Common Input Method platform, in short SCIM, is a development platform to
+make Input Method developers live easier. It has very clear architecture and
+very simple programming interface.
+
+WWW: http://www.scim-im.org
diff --git a/chinese/scim-pinyin/pkg-message b/chinese/scim-pinyin/pkg-message
new file mode 100644
index 000000000..9e61f11cd
--- /dev/null
+++ b/chinese/scim-pinyin/pkg-message
@@ -0,0 +1,20 @@
+--------------------------------------------------------------------
+Remember to set environment variable XMODIFIERS:
+
+ csh/tcsh: setenv XMODIFIERS @im=SCIM
+ sh/bash: export XMODIFIERS='@im=SCIM'
+
+and set LANG, LC_CTYPE to one of the following values:
+
+ Simplified Chinese:
+ zh_CN.UTF-8, zh_CN.GB18030, zh_CN.GBK, zh_CN.GB2312, zh_CN.eucCN
+
+ Traditional Chinese:
+ zh_TW.UTF-8, zh_TW.Big5
+ zh_HK.UTF-8, zh_HK.Big5-HKSCS
+
+To start the SCIM input method daemon, use command:
+
+ scim -d
+
+--------------------------------------------------------------------
diff --git a/chinese/scim-pinyin/pkg-plist b/chinese/scim-pinyin/pkg-plist
new file mode 100644
index 000000000..71917778a
--- /dev/null
+++ b/chinese/scim-pinyin/pkg-plist
@@ -0,0 +1,37 @@
+lib/scim-1.0/IMEngine/pinyin.a
+lib/scim-1.0/IMEngine/pinyin.la
+lib/scim-1.0/IMEngine/pinyin.so
+lib/scim-1.0/SetupUI/pinyin-imengine-setup.a
+lib/scim-1.0/SetupUI/pinyin-imengine-setup.la
+lib/scim-1.0/SetupUI/pinyin-imengine-setup.so
+share/locale/de/LC_MESSAGES/scim-pinyin.mo
+share/locale/fr/LC_MESSAGES/scim-pinyin.mo
+share/locale/ko/LC_MESSAGES/scim-pinyin.mo
+share/locale/it/LC_MESSAGES/scim-pinyin.mo
+share/locale/ja/LC_MESSAGES/scim-pinyin.mo
+share/locale/zh_CN/LC_MESSAGES/scim-pinyin.mo
+share/locale/zh_TW/LC_MESSAGES/scim-pinyin.mo
+share/scim/pinyin/phrase_lib
+share/scim/pinyin/pinyin_phrase_index
+share/scim/pinyin/pinyin_phrase_lib
+share/scim/pinyin/pinyin_table
+share/scim/pinyin/special_table
+share/scim/icons/smart-pinyin.png
+%%SKIM%%@cwd %%LOCALBASE%%
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_smartpinyin.a
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_smartpinyin.la
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_smartpinyin.so
+%%SKIM%%share/services/skimconfiguredialog/skimplugin_scim_smartpinyin_config.desktop
+%%SKIM%%share/config.kcfg/smartpinyin.kcfg
+%%SKIM%%share/locale/zh_CN/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/zh_TW/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/de/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/fr/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/ja/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/it/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/ko/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/apps/skim/pics/smart-pinyin.png
+%%SKIM%%@cwd %%PREFIX%%
+@dirrmtry lib/scim-1.0/IMEngine
+@dirrmtry lib/scim-1.0/SetupUI
+@dirrm share/scim/pinyin
diff --git a/chinese/scim-tables/Makefile b/chinese/scim-tables/Makefile
new file mode 100644
index 000000000..95bc05bab
--- /dev/null
+++ b/chinese/scim-tables/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: zh-scim-tables
+# Date created: 22 May 2004
+# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim-tables
+PORTVERSION= 0.5.4
+PORTREVISION= 3
+CATEGORIES= chinese
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=scim
+
+MAINTAINER= gaoj@cpsc.ucalgary.ca
+COMMENT= SCIM table based Chinese input methods
+
+BUILD_DEPENDS= scim-make-table:${PORTSDIR}/textproc/scim-table-imengine
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500035
+BROKEN= "No working scim-make-table command on 4.x. Install textproc/scim-table-imengine for details"
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+ @${ECHO}
+
+.include <bsd.port.post.mk>
diff --git a/chinese/scim-tables/distinfo b/chinese/scim-tables/distinfo
new file mode 100644
index 000000000..d2e41de89
--- /dev/null
+++ b/chinese/scim-tables/distinfo
@@ -0,0 +1,3 @@
+MD5 (scim-tables-0.5.4.tar.gz) = 69ce8f1945ba2ab4bf820386e76c2cd9
+SHA256 (scim-tables-0.5.4.tar.gz) = 784cbdecb40a42dee50c2d4ef0614ebd58728c8ee15ac0f2d08acfeef73ec4ad
+SIZE (scim-tables-0.5.4.tar.gz) = 5608023
diff --git a/chinese/scim-tables/files/patch-Makefile.in b/chinese/scim-tables/files/patch-Makefile.in
new file mode 100644
index 000000000..1917380b4
--- /dev/null
+++ b/chinese/scim-tables/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Sun Oct 30 06:07:39 2005
++++ Makefile.in Wed Nov 2 21:45:04 2005
+@@ -75,7 +75,7 @@
+ uninstall-recursive
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = intl icons m4 po src tables skim
++DIST_SUBDIRS = icons tables
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -260,7 +260,7 @@
+ EXTRA_DIST = config.rpath mkinstalldirs bootstrap scim-tables.spec
+ AUTOMAKE_OPTIONS = gnu
+ @SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR = skim
+-SUBDIRS = intl icons m4 po src tables $(SKIM_SUBDIR)
++SUBDIRS = icons tables
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure $(AUX_DIST)
+ CLEANFILES = *.bak
+ ACLOCAL_AMFLAGS = -I m4
diff --git a/chinese/scim-tables/files/patch-icons-Makefile.in b/chinese/scim-tables/files/patch-icons-Makefile.in
new file mode 100644
index 000000000..cfee3ca47
--- /dev/null
+++ b/chinese/scim-tables/files/patch-icons-Makefile.in
@@ -0,0 +1,54 @@
+--- icons/Makefile.in.orig Sun Oct 30 06:07:35 2005
++++ icons/Makefile.in Mon Nov 7 22:02:59 2005
+@@ -234,12 +234,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ MAINTAINERCLEANFILES = Makefile.in
+-INST_ICONS = table.png \
+- Amharic.png \
+- Arabic.png \
+- Array30.png \
+- Bengali-inscript.png \
+- Bengali-probhat.png \
++INST_ICONS = Array30.png \
+ CangJie.png \
+ CangJie3.png \
+ Cantonese.png \
+@@ -250,36 +245,12 @@
+ Erbi.png \
+ Erbi-QS.png \
+ EZ.png \
+- Gujarati-inscript.png \
+- Gujarati-phonetic.png \
+- Hangul.png \
+- Hanja.png \
+- Hindi-inscript.png \
+- Hindi-phonetic.png \
+- HIRAGANA.png \
+ Jyutping.png \
+- KATAKANA.png \
+- Kannada-inscript.png \
+- Kannada-kgp.png \
+- LaTeX.png \
+- Malayalam-inscript.png \
+- Nepali.png \
+- Nippon.png \
+- Punjabi-inscript.png \
+- Punjabi-jhelum.png \
+- Punjabi-phonetic.png \
+ Simplex.png \
+- Tamil-inscript.png \
+- Tamil-phonetic.png \
+- Telugu-inscript.png \
+- Thai.png \
+- Viqr.png \
+ Wu.png \
+ Wubi.png \
+- Yawerty.png \
+ ZhuYin.png \
+- Ziranma.png \
+- IPA-X-SAMPA.png
++ Ziranma.png
+
+ EXTRA_DIST = $(INST_ICONS)
+ icondir = $(SCIM_ICONDIR)
diff --git a/chinese/scim-tables/files/patch-tables-Makefile.in b/chinese/scim-tables/files/patch-tables-Makefile.in
new file mode 100644
index 000000000..c4d1f630e
--- /dev/null
+++ b/chinese/scim-tables/files/patch-tables-Makefile.in
@@ -0,0 +1,11 @@
+--- tables/Makefile.in.orig Sun Oct 30 22:07:36 2005
++++ tables/Makefile.in Tue Nov 1 23:25:14 2005
+@@ -234,7 +234,7 @@
+ target_alias = @target_alias@
+ MAINTAINERCLEANFILES = Makefile.in
+ CLEANFILES = *.bak
+-SUBDIRS = additional am ar bn gu hi ja kn ko ml ne pa ru ta te th vi zh
++SUBDIRS = zh
+ all: all-recursive
+
+ .SUFFIXES:
diff --git a/chinese/scim-tables/files/patch-tables-zh-Makefile.in b/chinese/scim-tables/files/patch-tables-zh-Makefile.in
new file mode 100644
index 000000000..d6d3a63c0
--- /dev/null
+++ b/chinese/scim-tables/files/patch-tables-zh-Makefile.in
@@ -0,0 +1,11 @@
+--- tables/zh/Makefile.in.orig Sun Oct 30 22:07:39 2005
++++ tables/zh/Makefile.in Tue Nov 1 23:26:26 2005
+@@ -245,7 +245,7 @@
+ subdirs = @subdirs@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-SCIM_MAKE_TABLE = $(top_builddir)/src/scim-make-table
++SCIM_MAKE_TABLE = scim-make-table
+ scim_tables_source = \
+ Array30.txt.in \
+ CangJie.txt.in \
diff --git a/chinese/scim-tables/pkg-descr b/chinese/scim-tables/pkg-descr
new file mode 100644
index 000000000..cca084b92
--- /dev/null
+++ b/chinese/scim-tables/pkg-descr
@@ -0,0 +1,8 @@
+SCIM Chinese table based input methods: Array30, CangJie, Cantonese, Dayi,
+Erbi, EZ, Jyutping, Simplex, Wubi, Ziranma, ZhuYin
+
+Smart Common Input Method platform, in short SCIM, is a development platform to
+make Input Method developers live easier. It has very clear architecture and
+very simple programming interface.
+
+WWW: http://www.scim-im.org
diff --git a/chinese/scim-tables/pkg-message b/chinese/scim-tables/pkg-message
new file mode 100644
index 000000000..9e61f11cd
--- /dev/null
+++ b/chinese/scim-tables/pkg-message
@@ -0,0 +1,20 @@
+--------------------------------------------------------------------
+Remember to set environment variable XMODIFIERS:
+
+ csh/tcsh: setenv XMODIFIERS @im=SCIM
+ sh/bash: export XMODIFIERS='@im=SCIM'
+
+and set LANG, LC_CTYPE to one of the following values:
+
+ Simplified Chinese:
+ zh_CN.UTF-8, zh_CN.GB18030, zh_CN.GBK, zh_CN.GB2312, zh_CN.eucCN
+
+ Traditional Chinese:
+ zh_TW.UTF-8, zh_TW.Big5
+ zh_HK.UTF-8, zh_HK.Big5-HKSCS
+
+To start the SCIM input method daemon, use command:
+
+ scim -d
+
+--------------------------------------------------------------------
diff --git a/chinese/scim-tables/pkg-plist b/chinese/scim-tables/pkg-plist
new file mode 100644
index 000000000..da4b4d5dd
--- /dev/null
+++ b/chinese/scim-tables/pkg-plist
@@ -0,0 +1,35 @@
+share/scim/tables/Array30.bin
+share/scim/tables/CangJie.bin
+share/scim/tables/CangJie3.bin
+share/scim/tables/CantonHK.bin
+share/scim/tables/Cantonese.bin
+share/scim/tables/Dayi3.bin
+share/scim/tables/EZ.bin
+share/scim/tables/Erbi-QS.bin
+share/scim/tables/Erbi.bin
+share/scim/tables/Jyutping.bin
+share/scim/tables/Quick.bin
+share/scim/tables/Simplex.bin
+share/scim/tables/Stroke5.bin
+share/scim/tables/Wu.bin
+share/scim/tables/Wubi.bin
+share/scim/tables/ZhuYin.bin
+share/scim/tables/Ziranma.bin
+share/scim/icons/Array30.png
+share/scim/icons/CangJie.png
+share/scim/icons/CangJie3.png
+share/scim/icons/CantonHK.png
+share/scim/icons/Cantonese.png
+share/scim/icons/Dayi.png
+share/scim/icons/EZ.png
+share/scim/icons/Erbi-QS.png
+share/scim/icons/Erbi.png
+share/scim/icons/Jyutping.png
+share/scim/icons/Quick.png
+share/scim/icons/Simplex.png
+share/scim/icons/Stroke5.png
+share/scim/icons/Wu.png
+share/scim/icons/Wubi.png
+share/scim/icons/ZhuYin.png
+share/scim/icons/Ziranma.png
+@dirrmtry share/scim/tables