From 848af295ab1f047d1116004f19587542a9e510cc Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 8 Aug 2010 00:42:23 +0000 Subject: Import ibus-tegaki-0.3.1 as inputmethod/ibus-tegaki. Tegaki project integration in IBus. --- inputmethod/ibus-tegaki/DESCR | 1 + inputmethod/ibus-tegaki/Makefile | 29 +++++++++++++++++++++++++++++ inputmethod/ibus-tegaki/PLIST | 8 ++++++++ inputmethod/ibus-tegaki/distinfo | 6 ++++++ inputmethod/ibus-tegaki/patches/patch-aa | 22 ++++++++++++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 inputmethod/ibus-tegaki/DESCR create mode 100644 inputmethod/ibus-tegaki/Makefile create mode 100644 inputmethod/ibus-tegaki/PLIST create mode 100644 inputmethod/ibus-tegaki/distinfo create mode 100644 inputmethod/ibus-tegaki/patches/patch-aa (limited to 'inputmethod') 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 ++) -- cgit v1.2.3