diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-07-02 22:36:26 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-07-02 22:36:26 +0000 |
commit | 5c4d62e942fef7d7bde2bf31f3a7bd96dedc76c9 (patch) | |
tree | 2f7353204caa9ab5092e255e5a18be7f835c5a9b /chinese | |
parent | 7bd1ef9e0e8ce872f64023d85204fd4970ed1348 (diff) | |
download | ports-5c4d62e942fef7d7bde2bf31f3a7bd96dedc76c9.tar.gz ports-5c4d62e942fef7d7bde2bf31f3a7bd96dedc76c9.zip |
Notes
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 |