diff options
author | miwi <miwi@FreeBSD.org> | 2007-06-13 12:52:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-06-13 12:52:50 +0800 |
commit | 1f1c86871a8e105cd141e18622f315c27ae600b8 (patch) | |
tree | 7676914d361a8a09c4cdd833bde2fc070960fdf8 | |
parent | 293c1907fc3584c04b8a7b41db445f2602ea507a (diff) | |
download | freebsd-ports-gnome-1f1c86871a8e105cd141e18622f315c27ae600b8.tar.gz freebsd-ports-gnome-1f1c86871a8e105cd141e18622f315c27ae600b8.tar.zst freebsd-ports-gnome-1f1c86871a8e105cd141e18622f315c27ae600b8.zip |
fcitx stands for Free Chinese Input Toy of X,it's a ollection of Simplified
Chinese input methods based on XIM (X Input Method), including WuBi, PinYin,
and QuWei.
scim-fcitx is an SCIM IMEngine module for fcitx.
WWW: http://www.fcitx.org
PR: ports/112523
Submitted by: Yinghong.Liu <liu_yinghong at yahoo.com.cn>
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/scim-fcitx/Makefile | 42 | ||||
-rw-r--r-- | chinese/scim-fcitx/distinfo | 3 | ||||
-rw-r--r-- | chinese/scim-fcitx/files/pkg-message.in | 20 | ||||
-rw-r--r-- | chinese/scim-fcitx/pkg-descr | 6 | ||||
-rw-r--r-- | chinese/scim-fcitx/pkg-plist | 43 |
6 files changed, 115 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 444f3620d904..6080625bd50f 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -112,6 +112,7 @@ SUBDIR += qterm SUBDIR += reciteword SUBDIR += scim-chewing + SUBDIR += scim-fcitx SUBDIR += scim-pinyin SUBDIR += scim-tables SUBDIR += srecite diff --git a/chinese/scim-fcitx/Makefile b/chinese/scim-fcitx/Makefile new file mode 100644 index 000000000000..13518a694c8e --- /dev/null +++ b/chinese/scim-fcitx/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: zh-scim-fcitx +# Date created: 8 May 2007 +# Whom: Yinghong.Liu <liu_yinghong@yahoo.com.cn> +# +# $FreeBSD$ +# + +PORTNAME= scim +PORTVERSION= 3.1.1 +CATEGORIES= chinese +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=scim +PKGNAMESUFFIX= -fcitx +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION} + +MAINTAINER= liu_yinghong@yahoo.com.cn +COMMENT= An SCIM IMEngine module for fcitx + +RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim +BUILD_DEPENDS= ${RUN_DEPENDS} + +USE_BZIP2= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes + +WRKSRC= ${WRKDIR}/fcitx + +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lintl" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + SCIM_DATADIR=${PREFIX}/share/scim \ + SCIM_ICONDIR=${PREFIX}/share/scim/icons + +SUB_FILES= pkg-message + +post-patch: + @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \ + ${WRKSRC}/configure + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/chinese/scim-fcitx/distinfo b/chinese/scim-fcitx/distinfo new file mode 100644 index 000000000000..fde48095386c --- /dev/null +++ b/chinese/scim-fcitx/distinfo @@ -0,0 +1,3 @@ +MD5 (scim-fcitx.3.1.1.tar.bz2) = 781dc96ebce31e2949ecb0c3c1c769f6 +SHA256 (scim-fcitx.3.1.1.tar.bz2) = 43400c00c777be5a9ca7f369856e89819cd832f1bb3ff2641660dffa887df2a5 +SIZE (scim-fcitx.3.1.1.tar.bz2) = 1612134 diff --git a/chinese/scim-fcitx/files/pkg-message.in b/chinese/scim-fcitx/files/pkg-message.in new file mode 100644 index 000000000000..40e04afc9969 --- /dev/null +++ b/chinese/scim-fcitx/files/pkg-message.in @@ -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-fcitx/pkg-descr b/chinese/scim-fcitx/pkg-descr new file mode 100644 index 000000000000..c5c19668c135 --- /dev/null +++ b/chinese/scim-fcitx/pkg-descr @@ -0,0 +1,6 @@ +fcitx stands for Free Chinese Input Toy of X,it's a ollection of Simplified +Chinese input methods based on XIM (X Input Method), including WuBi, PinYin, +and QuWei. +scim-fcitx is an SCIM IMEngine module for fcitx. + +WWW: http://www.fcitx.org diff --git a/chinese/scim-fcitx/pkg-plist b/chinese/scim-fcitx/pkg-plist new file mode 100644 index 000000000000..313e6ecd4985 --- /dev/null +++ b/chinese/scim-fcitx/pkg-plist @@ -0,0 +1,43 @@ +bin/createPYMB +bin/mb2txt +bin/txt2mb +lib/scim-1.0/1.4.0/IMEngine/fcitx.a +lib/scim-1.0/1.4.0/IMEngine/fcitx.la +lib/scim-1.0/1.4.0/IMEngine/fcitx.so +share/scim/fcitx/cj.mb +share/scim/fcitx/erbi.mb +share/scim/fcitx/punc.mb +share/scim/fcitx/pySym.mb +share/scim/fcitx/pybase.mb +share/scim/fcitx/pyphrase.mb +share/scim/fcitx/sp.dat +share/scim/fcitx/tables.conf +share/scim/fcitx/wbx.mb +share/scim/icons/fcitx/cangjie.png +share/scim/icons/fcitx/erbi.png +share/scim/icons/fcitx/fcitx.png +share/scim/icons/fcitx/full-letter.png +share/scim/icons/fcitx/full-punct.png +share/scim/icons/fcitx/gbk.png +share/scim/icons/fcitx/half-letter.png +share/scim/icons/fcitx/half-punct.png +share/scim/icons/fcitx/legend.png +share/scim/icons/fcitx/lock.png +share/scim/icons/fcitx/nocangjie.png +share/scim/icons/fcitx/noerbi.png +share/scim/icons/fcitx/nofcitx.png +share/scim/icons/fcitx/nogbk.png +share/scim/icons/fcitx/nolegend.png +share/scim/icons/fcitx/nolock.png +share/scim/icons/fcitx/nopinyin.png +share/scim/icons/fcitx/noquwei.png +share/scim/icons/fcitx/noshuangpin.png +share/scim/icons/fcitx/nowubi86.png +share/scim/icons/fcitx/nowubi98.png +share/scim/icons/fcitx/pinyin.png +share/scim/icons/fcitx/quwei.png +share/scim/icons/fcitx/shuangpin.png +share/scim/icons/fcitx/wubi86.png +share/scim/icons/fcitx/wubi98.png +@dirrm share/scim/icons/fcitx +@dirrm share/scim/fcitx |