diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-13 04:52:50 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-13 04:52:50 +0000 |
commit | 3ea11dcf3ead954de3febcf1f4d8088989157d77 (patch) | |
tree | 54e2960148b38ed2c1472d8d771cc01dd63fb207 | |
parent | be4f7a33cb4b51486b26ca3bfb143a5cb616bf31 (diff) | |
download | ports-3ea11dcf3ead954de3febcf1f4d8088989157d77.tar.gz ports-3ea11dcf3ead954de3febcf1f4d8088989157d77.zip |
Notes
-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 |