summaryrefslogtreecommitdiff
path: root/inputmethod/tegaki-recognize
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-07 12:52:21 +0000
committerobache <obache@pkgsrc.org>2010-08-07 12:52:21 +0000
commit9e22b5bb7de45209130072e4640a89ca55b680f9 (patch)
treec5a0588d908bf0a0afeb7be1e7c782dfe0c377d0 /inputmethod/tegaki-recognize
parent883c252df7cba60aa83901a918f3ababe3624031 (diff)
downloadpkgsrc-9e22b5bb7de45209130072e4640a89ca55b680f9.tar.gz
Import tegaki-recognize-0.3.1.2 as inputmethod/tegaki-recognize.
Tegaki project integration in the desktop.
Diffstat (limited to 'inputmethod/tegaki-recognize')
-rw-r--r--inputmethod/tegaki-recognize/DESCR1
-rw-r--r--inputmethod/tegaki-recognize/Makefile26
-rw-r--r--inputmethod/tegaki-recognize/PLIST6
-rw-r--r--inputmethod/tegaki-recognize/distinfo6
-rw-r--r--inputmethod/tegaki-recognize/patches/patch-aa15
5 files changed, 54 insertions, 0 deletions
diff --git a/inputmethod/tegaki-recognize/DESCR b/inputmethod/tegaki-recognize/DESCR
new file mode 100644
index 00000000000..e72ceac9fd2
--- /dev/null
+++ b/inputmethod/tegaki-recognize/DESCR
@@ -0,0 +1 @@
+Tegaki project integration in the desktop.
diff --git a/inputmethod/tegaki-recognize/Makefile b/inputmethod/tegaki-recognize/Makefile
new file mode 100644
index 00000000000..f697b02c2ac
--- /dev/null
+++ b/inputmethod/tegaki-recognize/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/07 12:52:21 obache Exp $
+#
+
+DISTNAME= tegaki-recognize-0.3.1.2
+CATEGORIES= inputmethod
+MASTER_SITES= http://www.tegaki.org/releases/0.3.1/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://www.tegaki.org/
+COMMENT= Tegaki project integration in the desktop
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= tegaki-pygtk>=0.2:../../inputmethod/tegaki-pygtk
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON= bin/tegaki-recognize
+
+EGG_NAME= ${PKGNAME:S/-/_/}
+
+.include "../../lang/python/distutils.mk"
+.include "../../lang/python/application.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/tegaki-recognize/PLIST b/inputmethod/tegaki-recognize/PLIST
new file mode 100644
index 00000000000..735c53441ed
--- /dev/null
+++ b/inputmethod/tegaki-recognize/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/07 12:52:21 obache Exp $
+bin/tegaki-recognize
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
+share/applications/tegaki-recognize.desktop
+share/menu/tegaki-recognize
+share/pixmaps/tegaki-recognize.svg
diff --git a/inputmethod/tegaki-recognize/distinfo b/inputmethod/tegaki-recognize/distinfo
new file mode 100644
index 00000000000..bd944686f3d
--- /dev/null
+++ b/inputmethod/tegaki-recognize/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/07 12:52:21 obache Exp $
+
+SHA1 (tegaki-recognize-0.3.1.2.tar.gz) = 0638e7a6e12e54d2d28c0e3403ae1dcba6356529
+RMD160 (tegaki-recognize-0.3.1.2.tar.gz) = dad34766d6874e9b074cd59b1e539024f565990e
+Size (tegaki-recognize-0.3.1.2.tar.gz) = 296765 bytes
+SHA1 (patch-aa) = 14451c25380125456d96bf4c64e97f2b14380f04
diff --git a/inputmethod/tegaki-recognize/patches/patch-aa b/inputmethod/tegaki-recognize/patches/patch-aa
new file mode 100644
index 00000000000..c9772dd8b50
--- /dev/null
+++ b/inputmethod/tegaki-recognize/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/08/07 12:52:21 obache Exp $
+
+destdir support.
+
+--- setup.py.orig 2010-03-22 07:05:39.000000000 +0000
++++ setup.py
+@@ -41,6 +41,8 @@ class install(installbase):
+ txt = load_file(filename)
+ txt = 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)