summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-07 02:13:06 +0000
committerobache <obache@pkgsrc.org>2010-08-07 02:13:06 +0000
commitcbca864dbdefd74a1e84c987050b29165396d4e0 (patch)
tree1987e02da675d647e6ffc89babd9a098e442edd2 /inputmethod
parent918760c62ff7181b6572959090a5496460df8d33 (diff)
downloadpkgsrc-cbca864dbdefd74a1e84c987050b29165396d4e0.tar.gz
Import ibus-table-1.3.0.20100621 as inputmethod/ibus-table.
The package contains general Table engine for IBus platform.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ibus-table/DESCR1
-rw-r--r--inputmethod/ibus-table/Makefile41
-rw-r--r--inputmethod/ibus-table/PLIST46
-rw-r--r--inputmethod/ibus-table/buildlink3.mk13
-rw-r--r--inputmethod/ibus-table/distinfo5
5 files changed, 106 insertions, 0 deletions
diff --git a/inputmethod/ibus-table/DESCR b/inputmethod/ibus-table/DESCR
new file mode 100644
index 00000000000..2f96b7d13cb
--- /dev/null
+++ b/inputmethod/ibus-table/DESCR
@@ -0,0 +1 @@
+The package contains general Table engine for IBus platform.
diff --git a/inputmethod/ibus-table/Makefile b/inputmethod/ibus-table/Makefile
new file mode 100644
index 00000000000..5329c71a935
--- /dev/null
+++ b/inputmethod/ibus-table/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/07 02:13:06 obache Exp $
+#
+
+DISTNAME= ibus-table-1.3.0.20100621
+CATEGORIES= inputmethod
+MASTER_SITES= http://ibus.googlecode.com/files/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://code.google.com/p/ibus/
+COMMENT= The Table engine for IBus platform
+LICENSE= gnu-lgpl-v2.1
+
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config msgfmt
+USE_PKGLOCALEDIR= yes
+
+PKGCONFIG_OVERRIDE+= ibus-table.pc.in
+
+CONFIGURE_ARGS+= --disable-additional
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= engine/tabcreatedb.py
+SUBST_SED.prefix= -e 's|/usr/share|${PREFIX}/share|g'
+
+SUBST_CLASSES+= epython
+SUBST_STAGE.epython= pre-configure
+SUBST_FILES.epython= engine/ibus-engine-table.in
+SUBST_FILES.epython+= engine/ibus-table-createdb.in
+SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g'
+
+REPLACE_PYTHON+= engine/tabcreatedb.py
+
+.include "../../lang/python/application.mk"
+BUILDLINK_ABI_DEPENDS.ibus+= ibus>=1.1.0
+.include "../../inputmethod/ibus/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/ibus-table/PLIST b/inputmethod/ibus-table/PLIST
new file mode 100644
index 00000000000..60269959e62
--- /dev/null
+++ b/inputmethod/ibus-table/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/07 02:13:06 obache Exp $
+bin/ibus-table-createdb
+lib/pkgconfig/ibus-table.pc
+libexec/ibus-engine-table
+share/ibus-table/data/pinyin_table.txt.bz2
+share/ibus-table/engine/factory.py
+share/ibus-table/engine/factory.pyc
+share/ibus-table/engine/factory.pyo
+share/ibus-table/engine/main.py
+share/ibus-table/engine/main.pyc
+share/ibus-table/engine/main.pyo
+share/ibus-table/engine/tabcreatedb.py
+share/ibus-table/engine/tabcreatedb.pyc
+share/ibus-table/engine/tabcreatedb.pyo
+share/ibus-table/engine/tabdict.py
+share/ibus-table/engine/tabdict.pyc
+share/ibus-table/engine/tabdict.pyo
+share/ibus-table/engine/table.py
+share/ibus-table/engine/table.pyc
+share/ibus-table/engine/table.pyo
+share/ibus-table/engine/tabsqlitedb.py
+share/ibus-table/engine/tabsqlitedb.pyc
+share/ibus-table/engine/tabsqlitedb.pyo
+share/ibus-table/icons/acommit.svg
+share/ibus-table/icons/cb-mode.svg
+share/ibus-table/icons/chinese.svg
+share/ibus-table/icons/english.svg
+share/ibus-table/icons/full-letter.svg
+share/ibus-table/icons/full-punct.svg
+share/ibus-table/icons/half-letter.svg
+share/ibus-table/icons/half-punct.svg
+share/ibus-table/icons/ibus-table.svg
+share/ibus-table/icons/ncommit.svg
+share/ibus-table/icons/onechar.svg
+share/ibus-table/icons/phrase.svg
+share/ibus-table/icons/py-mode.svg
+share/ibus-table/icons/sc-mode.svg
+share/ibus-table/icons/scb-mode.svg
+share/ibus-table/icons/tab-mode.svg
+share/ibus-table/icons/tc-mode.svg
+share/ibus-table/icons/tcb-mode.svg
+share/ibus-table/tables/template.txt
+share/ibus/component/table.xml
+share/locale/zh_CN/LC_MESSAGES/ibus-table.mo
+share/locale/zh_HK/LC_MESSAGES/ibus-table.mo
+share/locale/zh_TW/LC_MESSAGES/ibus-table.mo
diff --git a/inputmethod/ibus-table/buildlink3.mk b/inputmethod/ibus-table/buildlink3.mk
new file mode 100644
index 00000000000..e41b3b0354d
--- /dev/null
+++ b/inputmethod/ibus-table/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/08/07 02:13:06 obache Exp $
+
+BUILDLINK_TREE+= ibus-table
+
+.if !defined(IBUS_TABLE_BUILDLINK3_MK)
+IBUS_TABLE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ibus-table+= ibus-table>=1.2.0.20100111
+BUILDLINK_PKGSRCDIR.ibus-table?= ../../inputmethod/ibus-table
+
+.endif # IBUS_TABLE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ibus-table
diff --git a/inputmethod/ibus-table/distinfo b/inputmethod/ibus-table/distinfo
new file mode 100644
index 00000000000..e79df068ce7
--- /dev/null
+++ b/inputmethod/ibus-table/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/07 02:13:06 obache Exp $
+
+SHA1 (ibus-table-1.3.0.20100621.tar.gz) = 3d1578c037d6b31adebc32f0f58c9c3f5fdd1ea8
+RMD160 (ibus-table-1.3.0.20100621.tar.gz) = 02d2249a79a9e5aa8d0c6c68365ef22773563673
+Size (ibus-table-1.3.0.20100621.tar.gz) = 421845 bytes