diff options
author | vanilla <vanilla@FreeBSD.org> | 2004-07-03 06:36:26 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2004-07-03 06:36:26 +0800 |
commit | 8e4b73bbad6ee9adb2a4daf9994ecda890595211 (patch) | |
tree | 80b204ffd9d55747a5758b41f70df44cb451ae96 /chinese | |
parent | 2744b1853ab87c35c26daf6a8679764cf821f61b (diff) | |
download | freebsd-ports-gnome-8e4b73bbad6ee9adb2a4daf9994ecda890595211.tar.gz freebsd-ports-gnome-8e4b73bbad6ee9adb2a4daf9994ecda890595211.tar.zst freebsd-ports-gnome-8e4b73bbad6ee9adb2a4daf9994ecda890595211.zip |
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
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/scim-chinese/Makefile | 35 | ||||
-rw-r--r-- | chinese/scim-chinese/distinfo | 2 | ||||
-rw-r--r-- | chinese/scim-chinese/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/scim-chinese/pkg-message | 20 | ||||
-rw-r--r-- | chinese/scim-chinese/pkg-plist | 20 | ||||
-rw-r--r-- | chinese/scim-pinyin/Makefile | 35 | ||||
-rw-r--r-- | chinese/scim-pinyin/distinfo | 2 | ||||
-rw-r--r-- | chinese/scim-pinyin/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/scim-pinyin/pkg-message | 20 | ||||
-rw-r--r-- | chinese/scim-pinyin/pkg-plist | 20 |
11 files changed, 169 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 459d771db9f5..00a5edcfbc48 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -98,6 +98,7 @@ SUBDIR += pyDict SUBDIR += qe SUBDIR += qterm + SUBDIR += scim-chinese SUBDIR += stardict2-dict-zh_CN SUBDIR += stardict2-dict-zh_TW SUBDIR += tcl83 diff --git a/chinese/scim-chinese/Makefile b/chinese/scim-chinese/Makefile new file mode 100644 index 000000000000..4bf06a740841 --- /dev/null +++ b/chinese/scim-chinese/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-chinese/distinfo b/chinese/scim-chinese/distinfo new file mode 100644 index 000000000000..59e1e6b243bc --- /dev/null +++ b/chinese/scim-chinese/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-chinese/pkg-descr b/chinese/scim-chinese/pkg-descr new file mode 100644 index 000000000000..d6eda5d0bcc8 --- /dev/null +++ b/chinese/scim-chinese/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-chinese/pkg-message b/chinese/scim-chinese/pkg-message new file mode 100644 index 000000000000..40e04afc9969 --- /dev/null +++ b/chinese/scim-chinese/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-chinese/pkg-plist b/chinese/scim-chinese/pkg-plist new file mode 100644 index 000000000000..7be58b67ba36 --- /dev/null +++ b/chinese/scim-chinese/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 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 |