summaryrefslogtreecommitdiff
path: root/chinese/scim-pinyin
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-07-02 22:36:26 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-07-02 22:36:26 +0000
commit5c4d62e942fef7d7bde2bf31f3a7bd96dedc76c9 (patch)
tree2f7353204caa9ab5092e255e5a18be7f835c5a9b /chinese/scim-pinyin
parentAdd scim 0.99.2, smart Common Input Method platform. (diff)
Add scim-chinese 0.4.0, SCIM Chinese Smart Pinyin input method.
PR: ports/67133 Submitted by: Jie Gao <gaoj@cpsc.ucalgary.ca> somepart by: me
Notes
Notes: svn path=/head/; revision=112810
Diffstat (limited to 'chinese/scim-pinyin')
-rw-r--r--chinese/scim-pinyin/Makefile35
-rw-r--r--chinese/scim-pinyin/distinfo2
-rw-r--r--chinese/scim-pinyin/pkg-descr7
-rw-r--r--chinese/scim-pinyin/pkg-message20
-rw-r--r--chinese/scim-pinyin/pkg-plist20
5 files changed, 84 insertions, 0 deletions
diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile
new file mode 100644
index 000000000000..4bf06a740841
--- /dev/null
+++ b/chinese/scim-pinyin/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: zh-scim-chinese
+# Date created: 20 May 2004
+# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim-chinese
+PORTVERSION= 0.4.0
+CATEGORIES= chinese
+MASTER_SITES= http://freedesktop.org/~suzhe/scim-chinese/
+
+MAINTAINER= gaoj@cpsc.ucalgary.ca
+COMMENT= SCIM Chinese Smart Pinyin input method
+
+BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GNOME= lthack
+USE_X_PREFIX= yes
+USE_ICONV= yes
+USE_GMAKE= yes
+USE_LIBTOOL_VER= 15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`make post-install\'
+ @${ECHO}
+
+.include <bsd.port.mk>
diff --git a/chinese/scim-pinyin/distinfo b/chinese/scim-pinyin/distinfo
new file mode 100644
index 000000000000..59e1e6b243bc
--- /dev/null
+++ b/chinese/scim-pinyin/distinfo
@@ -0,0 +1,2 @@
+MD5 (scim-chinese-0.4.0.tar.gz) = 0a63c622ee657af307079c59a2fe803f
+SIZE (scim-chinese-0.4.0.tar.gz) = 4812192
diff --git a/chinese/scim-pinyin/pkg-descr b/chinese/scim-pinyin/pkg-descr
new file mode 100644
index 000000000000..d6eda5d0bcc8
--- /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://freedesktop.org/~suzhe/
diff --git a/chinese/scim-pinyin/pkg-message b/chinese/scim-pinyin/pkg-message
new file mode 100644
index 000000000000..40e04afc9969
--- /dev/null
+++ b/chinese/scim-pinyin/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-pinyin/pkg-plist b/chinese/scim-pinyin/pkg-plist
new file mode 100644
index 000000000000..7be58b67ba36
--- /dev/null
+++ b/chinese/scim-pinyin/pkg-plist
@@ -0,0 +1,20 @@
+@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/scim-chinese.schemas >/dev/null || /usr/bin/true
+etc/gconf/schemas/scim-chinese.schemas
+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/zh_CN/LC_MESSAGES/scim-chinese.mo
+share/locale/zh_TW/LC_MESSAGES/scim-chinese.mo
+share/scim/chinese/phrase_lib
+share/scim/chinese/pinyin_phrase_index
+share/scim/chinese/pinyin_phrase_lib
+share/scim/chinese/pinyin_table
+share/scim/chinese/special_table
+share/scim/icons/smart-pinyin.png
+@unexec rmdir %D/lib/scim-1.0/IMEngine 2>/dev/null || true
+@unexec rmdir %D/lib/scim-1.0/SetupUI 2>/dev/null || true
+@dirrm share/scim/chinese
+@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/scim-chinese.schemas >/dev/null || /usr/bin/true