aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-03-26 09:36:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-03-26 09:36:38 +0000
commit9ceaac8094e4ac867c06a5afd73ae51ec90dc90e (patch)
tree13ef2cb25f2a9bf0d60e50378c35fc272688bb9f /chinese
parent821d9010723d7c31c744e0d42af1e27c607e46f6 (diff)
downloadports-9ceaac8094e4ac867c06a5afd73ae51ec90dc90e.tar.gz
ports-9ceaac8094e4ac867c06a5afd73ae51ec90dc90e.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-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
5 files changed, 106 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index b5f580129bf1..275ff2e67596 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -50,6 +50,7 @@
SUBDIR += hanzim
SUBDIR += hc
SUBDIR += hztty
+ SUBDIR += ibus-pinyin
SUBDIR += iiimf-le-newpy
SUBDIR += iiimf-le-ude
SUBDIR += iiimf-le-xcin
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%%