diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-02-05 10:28:27 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-02-05 10:28:27 +0000 |
commit | 3634e8ff554a0d15663aa7aee3cb53f25600e9fe (patch) | |
tree | 17ecb481b2ea4e6b5ebf78586bc1f136477bbd86 /japanese/tegaki-recognize | |
parent | ea38f8656452de8035cec01a6e60e5ac3a97eb21 (diff) | |
download | ports-3634e8ff554a0d15663aa7aee3cb53f25600e9fe.tar.gz ports-3634e8ff554a0d15663aa7aee3cb53f25600e9fe.zip |
Notes
Diffstat (limited to 'japanese/tegaki-recognize')
-rw-r--r-- | japanese/tegaki-recognize/Makefile | 40 | ||||
-rw-r--r-- | japanese/tegaki-recognize/distinfo | 2 | ||||
-rw-r--r-- | japanese/tegaki-recognize/files/patch-setup.py | 15 | ||||
-rw-r--r-- | japanese/tegaki-recognize/pkg-descr | 9 | ||||
-rw-r--r-- | japanese/tegaki-recognize/pkg-plist | 9 |
5 files changed, 75 insertions, 0 deletions
diff --git a/japanese/tegaki-recognize/Makefile b/japanese/tegaki-recognize/Makefile new file mode 100644 index 000000000000..3a9717831c96 --- /dev/null +++ b/japanese/tegaki-recognize/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: tegaki-recognize + +# Date created: 15 Aug 2010 +# Whom: Timothy Beyer <beyert@cs.ucr.edu> +# +# $FreeBSD$ +# + +PORTNAME= tegaki +PORTVERSION= 0.3.1 +CATEGORIES= japanese python +MASTER_SITES= http://www.tegaki.org/releases/${PORTVERSION}/ +PKGNAMESUFFIX= -recognize +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} + +MAINTAINER= beyert@cs.ucr.edu +COMMENT= Open-Source Chinese and Japanese Handwriting Recognition + +LIB_DEPENDS= zinnia.0:${PORTSDIR}/japanese/zinnia +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegakigtk/recognizer.py:${PORTSDIR}/japanese/py-tegaki-gtk + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= ${PORTNAME}_recognize + +.include <bsd.port.pre.mk> + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/japanese/tegaki-recognize/distinfo b/japanese/tegaki-recognize/distinfo new file mode 100644 index 000000000000..c586c46fbe5a --- /dev/null +++ b/japanese/tegaki-recognize/distinfo @@ -0,0 +1,2 @@ +SHA256 (tegaki-recognize-0.3.1.tar.gz) = 161dc7d204b1d387b275ec7cbb19eebb9e7c1bccc47f8978cf3e51582f55556e +SIZE (tegaki-recognize-0.3.1.tar.gz) = 295897 diff --git a/japanese/tegaki-recognize/files/patch-setup.py b/japanese/tegaki-recognize/files/patch-setup.py new file mode 100644 index 000000000000..2ab817816300 --- /dev/null +++ b/japanese/tegaki-recognize/files/patch-setup.py @@ -0,0 +1,15 @@ +--- setup.py.orig 2010-03-23 00:07:56.000000000 -0700 ++++ setup.py 2010-08-15 21:33:21.000000000 -0700 +@@ -30,12 +30,6 @@ + class install(installbase): + def run(self): + installbase.run(self) +- self._write_file("tegaki-recognize.in", +- os.path.join("share", "menu"), +- 0644) +- self._write_file("tegaki-recognize.desktop.in", +- os.path.join("share", "applications"), +- 0644) + + def _write_file(self, filename, folder, mode): + txt = load_file(filename) diff --git a/japanese/tegaki-recognize/pkg-descr b/japanese/tegaki-recognize/pkg-descr new file mode 100644 index 000000000000..699b6616e727 --- /dev/null +++ b/japanese/tegaki-recognize/pkg-descr @@ -0,0 +1,9 @@ +Tegaki Main program: + + * is free and open-source + * is multi-plaform + * focuses on Chinese (simplified and traditional) and Japanese characters + * supports 2 different recognition engines + * aspires to work on both desktop-PCs and mobile devices + +WWW: http://www.tegaki.org/ diff --git a/japanese/tegaki-recognize/pkg-plist b/japanese/tegaki-recognize/pkg-plist new file mode 100644 index 000000000000..1447ed739478 --- /dev/null +++ b/japanese/tegaki-recognize/pkg-plist @@ -0,0 +1,9 @@ +bin/tegaki-recognize +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT +%%PORTDOCS%%%%DOCSDIR%%/README +share/pixmaps/tegaki-recognize.svg +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% |