summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-tegaki
diff options
context:
space:
mode:
authorobache <obache>2010-08-08 00:42:23 +0000
committerobache <obache>2010-08-08 00:42:23 +0000
commitaa9bf21275ff7c194c122a4e702479e679a0e781 (patch)
tree730d4c8c700fa85e6c8374999fb69836c560155c /inputmethod/ibus-tegaki
parentfdb70512414c212193429af9b69671697692ade0 (diff)
downloadpkgsrc-aa9bf21275ff7c194c122a4e702479e679a0e781.tar.gz
Import ibus-tegaki-0.3.1 as inputmethod/ibus-tegaki.
Tegaki project integration in IBus.
Diffstat (limited to 'inputmethod/ibus-tegaki')
-rw-r--r--inputmethod/ibus-tegaki/DESCR1
-rw-r--r--inputmethod/ibus-tegaki/Makefile29
-rw-r--r--inputmethod/ibus-tegaki/PLIST8
-rw-r--r--inputmethod/ibus-tegaki/distinfo6
-rw-r--r--inputmethod/ibus-tegaki/patches/patch-aa22
5 files changed, 66 insertions, 0 deletions
diff --git a/inputmethod/ibus-tegaki/DESCR b/inputmethod/ibus-tegaki/DESCR
new file mode 100644
index 00000000000..bf742ce630a
--- /dev/null
+++ b/inputmethod/ibus-tegaki/DESCR
@@ -0,0 +1 @@
+Tegaki project integration in IBus.
diff --git a/inputmethod/ibus-tegaki/Makefile b/inputmethod/ibus-tegaki/Makefile
new file mode 100644
index 00000000000..62e34d43332
--- /dev/null
+++ b/inputmethod/ibus-tegaki/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/08 00:42:23 obache Exp $
+#
+
+DISTNAME= ibus-tegaki-0.3.1
+CATEGORIES= inputmethod
+MASTER_SITES= http://www.tegaki.org/releases/${PKGVERSION_NOREV}/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://www.tegaki.org/
+COMMENT= Tegaki integration in ibus
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= tegaki-pygtk>=0.3:../../inputmethod/tegaki-pygtk
+DEPENDS+= ibus>=1.2:../../inputmethod/ibus
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+PYDISTUTILSPKG= yes
+
+SUBST_CLASSES+= epython
+SUBST_STAGE.epython= pre-configure
+SUBST_FILES.epython= ibus-engine-tegaki.in
+SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g'
+
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/ibus-tegaki/PLIST b/inputmethod/ibus-tegaki/PLIST
new file mode 100644
index 00000000000..67200b3d2cf
--- /dev/null
+++ b/inputmethod/ibus-tegaki/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/08 00:42:23 obache Exp $
+lib/ibus-tegaki/ibus-engine-tegaki
+share/ibus-tegaki/engine/__init__.py
+share/ibus-tegaki/engine/engine.py
+share/ibus-tegaki/engine/factory.py
+share/ibus-tegaki/engine/main.py
+share/ibus-tegaki/icons/ibus-tegaki.svg
+share/ibus/component/tegaki.xml
diff --git a/inputmethod/ibus-tegaki/distinfo b/inputmethod/ibus-tegaki/distinfo
new file mode 100644
index 00000000000..58712adba44
--- /dev/null
+++ b/inputmethod/ibus-tegaki/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/08 00:42:23 obache Exp $
+
+SHA1 (ibus-tegaki-0.3.1.tar.gz) = aae9744632de4033c0906be032b37c3dfdcef151
+RMD160 (ibus-tegaki-0.3.1.tar.gz) = 2cdf689b5434626b62f769f47dae06054b166e4e
+Size (ibus-tegaki-0.3.1.tar.gz) = 17026 bytes
+SHA1 (patch-aa) = 1064b3d7987c14cfe8e033ef371d79556238d39f
diff --git a/inputmethod/ibus-tegaki/patches/patch-aa b/inputmethod/ibus-tegaki/patches/patch-aa
new file mode 100644
index 00000000000..c280ddaa566
--- /dev/null
+++ b/inputmethod/ibus-tegaki/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/08/08 00:42:23 obache Exp $
+
+destdir support.
+
+--- setup.py.orig 2010-03-23 07:07:56.000000000 +0000
++++ setup.py
+@@ -40,6 +40,8 @@ class install(installbase):
+ txt = load_file(filename)
+ txt = replace_constants(self._replace_prefix(txt))
+ outdir = os.path.join(self._getprefix(), folder)
++ if self.root is not None:
++ outdir = self.root + outdir
+ out = os.path.join(outdir, filename.replace(".in", ""))
+ if not os.path.exists(outdir):
+ os.makedirs(outdir)
+@@ -76,4 +78,4 @@ setup(
+ data_files=[('share/ibus-tegaki/engine', glob("engine/*.py")),
+ ('share/ibus-tegaki/icons', glob("*.svg"))],
+ cmdclass={'install':install}
+-)
+\ No newline at end of file
++)