aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-libpinyin
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-05-01 13:53:06 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-05-01 13:53:06 +0000
commit718e4f3bd9ab2211c926014893c88cdcf36a62f9 (patch)
tree479e2138f4cecff3fbb71274e42d9467ca7e8b5a /chinese/fcitx-libpinyin
parenta6891d9c85a35d599b73b34a2df2e07e3c56288f (diff)
downloadports-718e4f3bd9ab2211c926014893c88cdcf36a62f9.tar.gz
ports-718e4f3bd9ab2211c926014893c88cdcf36a62f9.zip
Add port: chinese/libpinyin, a Chinese pinyin input method algorithm
collection, as a back-end to the Fcitx IM framework. WWW: http://code.google.com/p/fcitx/ PR: ports/166716 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=295789
Diffstat (limited to 'chinese/fcitx-libpinyin')
-rw-r--r--chinese/fcitx-libpinyin/Makefile35
-rw-r--r--chinese/fcitx-libpinyin/distinfo4
-rw-r--r--chinese/fcitx-libpinyin/pkg-descr4
-rw-r--r--chinese/fcitx-libpinyin/pkg-plist16
4 files changed, 59 insertions, 0 deletions
diff --git a/chinese/fcitx-libpinyin/Makefile b/chinese/fcitx-libpinyin/Makefile
new file mode 100644
index 000000000000..86702db93b9d
--- /dev/null
+++ b/chinese/fcitx-libpinyin/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: fcitx-libpinyin
+# Date created: 7 Apr 2012
+# Whom: Zhihao Yuan <lichray@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fcitx-libpinyin
+PORTVERSION= 0.1.1
+CATEGORIES= chinese
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+ http://cloud.github.com/downloads/fcitx/fcitx-libpinyin/:libpinyin
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} model.text.tar.gz:libpinyin
+DIST_SUBDIR= fcitx
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= lichray@gmail.com
+COMMENT= The libpinyin support for Fcitx
+
+LIB_DEPENDS= fcitx-config.4:${PORTSDIR}/chinese/fcitx \
+ pinyin.0:${PORTSDIR}/chinese/libpinyin
+
+USE_LDCONFIG= ${PREFIX}/lib/fcitx/
+USE_XZ= yes
+USE_GETTEXT= yes
+USE_CMAKE= yes
+USE_GNOME= intltool
+INSTALLS_ICONS= yes
+
+post-patch:
+ @${LN} -s ${_DISTDIR}/model.text.tar.gz ${WRKSRC}/data
+
+PROJECTHOST= fcitx
+
+.include <bsd.port.mk>
diff --git a/chinese/fcitx-libpinyin/distinfo b/chinese/fcitx-libpinyin/distinfo
new file mode 100644
index 000000000000..c59a0a77ba2b
--- /dev/null
+++ b/chinese/fcitx-libpinyin/distinfo
@@ -0,0 +1,4 @@
+SHA256 (fcitx/fcitx-libpinyin-0.1.1.tar.xz) = adb84d0b0f9f3bd26b124dd5c4130adacd7d15293fc0e1917266ff35c51be03c
+SIZE (fcitx/fcitx-libpinyin-0.1.1.tar.xz) = 24220
+SHA256 (fcitx/model.text.tar.gz) = 8d87d9c0b622f3163976a8c8bc57ded878cf0dee63c855b8a7afd36a151114eb
+SIZE (fcitx/model.text.tar.gz) = 9991219
diff --git a/chinese/fcitx-libpinyin/pkg-descr b/chinese/fcitx-libpinyin/pkg-descr
new file mode 100644
index 000000000000..877472a5e6fa
--- /dev/null
+++ b/chinese/fcitx-libpinyin/pkg-descr
@@ -0,0 +1,4 @@
+fcitx-libpinyin provides libpinyin, a Chinese pinyin input method algorithm
+collection, as a back-end to the Fcitx IM framework.
+
+WWW: http://code.google.com/p/fcitx/
diff --git a/chinese/fcitx-libpinyin/pkg-plist b/chinese/fcitx-libpinyin/pkg-plist
new file mode 100644
index 000000000000..23f6ef443218
--- /dev/null
+++ b/chinese/fcitx-libpinyin/pkg-plist
@@ -0,0 +1,16 @@
+lib/fcitx/fcitx-libpinyin.so
+share/fcitx/addon/fcitx-libpinyin.conf
+share/fcitx/configdesc/fcitx-libpinyin.desc
+share/fcitx/inputmethod/pinyin-libpinyin.conf
+share/fcitx/inputmethod/shuangpin-libpinyin.conf
+share/fcitx/inputmethod/zhuyin-libpinyin.conf
+share/fcitx/libpinyin/zhuyin_data/bigram.db
+share/fcitx/libpinyin/zhuyin_data/gb_char.bin
+share/fcitx/libpinyin/zhuyin_data/gbk_char.bin
+share/fcitx/libpinyin/zhuyin_data/phrase_index.bin
+share/fcitx/libpinyin/zhuyin_data/pinyin_index.bin
+share/icons/hicolor/48x48/status/fcitx-bopomofo.png
+share/locale/zh_CN/LC_MESSAGES/fcitx-libpinyin.mo
+share/locale/zh_TW/LC_MESSAGES/fcitx-libpinyin.mo
+@dirrm share/fcitx/libpinyin/zhuyin_data
+@dirrm share/fcitx/libpinyin