aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/ibus-pinyin
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-26 17:36:38 +0800
committerpav <pav@FreeBSD.org>2009-03-26 17:36:38 +0800
commitbdf8e1ec4bae0e86e0911262e422a8f306b3d14f (patch)
tree4085354c7a8caafa4d378411653e2cd46cc582c6 /chinese/ibus-pinyin
parent53889ac289954527d187e971d3ca6a433bd14730 (diff)
downloadfreebsd-ports-gnome-bdf8e1ec4bae0e86e0911262e422a8f306b3d14f.tar.gz
freebsd-ports-gnome-bdf8e1ec4bae0e86e0911262e422a8f306b3d14f.tar.zst
freebsd-ports-gnome-bdf8e1ec4bae0e86e0911262e422a8f306b3d14f.zip
PinYin engine for IBus.
WWW: http://code.google.com/p/ibus PR: ports/128371 Submitted by: Henry Hu <henry.hu.sh@gmail.com>
Diffstat (limited to 'chinese/ibus-pinyin')
-rw-r--r--chinese/ibus-pinyin/Makefile43
-rw-r--r--chinese/ibus-pinyin/distinfo6
-rw-r--r--chinese/ibus-pinyin/pkg-descr3
-rw-r--r--chinese/ibus-pinyin/pkg-plist53
4 files changed, 105 insertions, 0 deletions
diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile
new file mode 100644
index 000000000000..50e13f9f68d7
--- /dev/null
+++ b/chinese/ibus-pinyin/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: ibus
+# Date created: 21 October 2008
+# Whom: Henry Hu <henry.hu.sh@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ibus-pinyin
+PORTVERSION= 1.1.0.20090303
+CATEGORIES= chinese
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DBTAR}
+
+MAINTAINER= henry.hu.sh@gmail.com
+COMMENT= PinYin engine for IBus
+
+RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus \
+ ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
+
+USE_PYTHON= yes
+USE_GNOME= pygtk2
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-dependency-tracking
+
+PROJECTHOST= ibus
+DBVER= 0.1.10.6
+DBTAR= pinyin-database-${DBVER}.tar.bz2
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-extract:
+ ${MV} ${WRKDIR}/py.db ${WRKSRC}/engine/
+ ${TOUCH} ${WRKSRC}/engine/${DBTAR}
+
+.include <bsd.port.mk>
diff --git a/chinese/ibus-pinyin/distinfo b/chinese/ibus-pinyin/distinfo
new file mode 100644
index 000000000000..5c505a8dd2d3
--- /dev/null
+++ b/chinese/ibus-pinyin/distinfo
@@ -0,0 +1,6 @@
+MD5 (ibus-pinyin-1.1.0.20090303.tar.gz) = f14c1110310598f0c332661d4a1a1a99
+SHA256 (ibus-pinyin-1.1.0.20090303.tar.gz) = 6165ee46fb33f3fb8a16302c20010352cf06d8bec9c13230c7c4c5c4a0ded923
+SIZE (ibus-pinyin-1.1.0.20090303.tar.gz) = 272654
+MD5 (pinyin-database-0.1.10.6.tar.bz2) = ebd8d2381993372bb97a877b549e14a0
+SHA256 (pinyin-database-0.1.10.6.tar.bz2) = f96c0adfd890b1ec5be534a147481900b96ba827910e140f1c76c679632f15fe
+SIZE (pinyin-database-0.1.10.6.tar.bz2) = 12008671
diff --git a/chinese/ibus-pinyin/pkg-descr b/chinese/ibus-pinyin/pkg-descr
new file mode 100644
index 000000000000..b329ff465f57
--- /dev/null
+++ b/chinese/ibus-pinyin/pkg-descr
@@ -0,0 +1,3 @@
+PinYin engine for IBus.
+
+WWW: http://code.google.com/p/ibus
diff --git a/chinese/ibus-pinyin/pkg-plist b/chinese/ibus-pinyin/pkg-plist
new file mode 100644
index 000000000000..301788defe7d
--- /dev/null
+++ b/chinese/ibus-pinyin/pkg-plist
@@ -0,0 +1,53 @@
+libexec/ibus-engine-pinyin
+libexec/ibus-setup-pinyin
+%%DATADIR%%/engine/factory.py
+%%DATADIR%%/engine/factory.pyc
+%%DATADIR%%/engine/factory.pyo
+%%DATADIR%%/engine/main.py
+%%DATADIR%%/engine/main.pyc
+%%DATADIR%%/engine/main.pyo
+%%DATADIR%%/engine/pinyin.py
+%%DATADIR%%/engine/pinyin.pyc
+%%DATADIR%%/engine/pinyin.pyo
+%%DATADIR%%/engine/py.db
+%%DATADIR%%/engine/pydict.py
+%%DATADIR%%/engine/pydict.pyc
+%%DATADIR%%/engine/pydict.pyo
+%%DATADIR%%/engine/pyparser.py
+%%DATADIR%%/engine/pyparser.pyc
+%%DATADIR%%/engine/pyparser.pyo
+%%DATADIR%%/engine/pysqlitedb.py
+%%DATADIR%%/engine/pysqlitedb.pyc
+%%DATADIR%%/engine/pysqlitedb.pyo
+%%DATADIR%%/engine/pyutil.py
+%%DATADIR%%/engine/pyutil.pyc
+%%DATADIR%%/engine/pyutil.pyo
+%%DATADIR%%/engine/special_phrase
+%%DATADIR%%/engine/special_table
+%%DATADIR%%/engine/specialphrase.py
+%%DATADIR%%/engine/specialphrase.pyc
+%%DATADIR%%/engine/specialphrase.pyo
+%%DATADIR%%/engine/specialtable.py
+%%DATADIR%%/engine/specialtable.pyc
+%%DATADIR%%/engine/specialtable.pyo
+%%DATADIR%%/icons/chinese.svg
+%%DATADIR%%/icons/english.svg
+%%DATADIR%%/icons/full-letter.svg
+%%DATADIR%%/icons/full-punct.svg
+%%DATADIR%%/icons/half-letter.svg
+%%DATADIR%%/icons/half-punct.svg
+%%DATADIR%%/icons/ibus-pinyin.svg
+%%DATADIR%%/setup/main.py
+%%DATADIR%%/setup/main.pyc
+%%DATADIR%%/setup/main.pyo
+%%DATADIR%%/setup/pydict.py
+%%DATADIR%%/setup/pydict.pyc
+%%DATADIR%%/setup/pydict.pyo
+%%DATADIR%%/setup/setup.glade
+share/ibus/component/pinyin.xml
+%%NLS%%share/locale/ja/LC_MESSAGES/ibus-pinyin.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/ibus-pinyin.mo
+@dirrm %%DATADIR%%/setup
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%/engine
+@dirrm %%DATADIR%%