summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-02-05 09:41:52 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-02-05 09:41:52 +0000
commit3eee3adbc05a339a3073e38964571cb53280c56b (patch)
treee85ec943b475b52a6e00757da3e8444f87c6fd96 /japanese
parentZinnia is a simple, customizable and portable online hand recognition system (diff)
Zinnia is a simple, customizable and portable online hand recognition system
based on Support Vector Machines. Zinnia simply receives user pen strokes as a sequence of coordinate data and outputs n-best characters sorted by SVM confidence. To keep portability, Zinnia doesn't have any rendering functionality. In addition to recognition, Zinnia provides training module that allows us to create any hand-written recognition systems with low-cost. This is the python interface to the library. WWW: http://zinnia.sourceforge.net/ PR: ports/149686 Submitted by: Timothy Beyer <beyert at cs.ucr.edu> Feature safe: yes
Notes
Notes: svn path=/head/; revision=268648
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/py-zinnia/Makefile37
-rw-r--r--japanese/py-zinnia/distinfo2
-rw-r--r--japanese/py-zinnia/pkg-descr10
-rw-r--r--japanese/py-zinnia/pkg-plist6
5 files changed, 56 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 8705cc474b0a..47eafcce9983 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -279,6 +279,7 @@
SUBDIR += ptex
SUBDIR += py-kanjilib
SUBDIR += py-mecab
+ SUBDIR += py-zinnia
SUBDIR += pycodec
SUBDIR += pycodec-zope
SUBDIR += qkc
diff --git a/japanese/py-zinnia/Makefile b/japanese/py-zinnia/Makefile
new file mode 100644
index 000000000000..266ed6367704
--- /dev/null
+++ b/japanese/py-zinnia/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: py-zinnia
+
+# Date created: 15 Aug 2010
+# Whom: Timothy Beyer <beyert@cs.ucr.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zinnia
+PORTVERSION= 0.06
+CATEGORIES= japanese python
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= beyert@cs.ucr.edu
+COMMENT= Zinnna Python Interface
+
+LIB_DEPENDS= zinnia.0:${PORTSDIR}/japanese/zinnia
+RUN_DEPENDS= zinnia:${PORTSDIR}/japanese/zinnia
+
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+PYDISTUTILS_PKGNAME= ${PORTNAME}_python
+PYDISTUTILS_PKGVERSION= 0.0.0
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+MAKE_ENV:= ${CONFIGURE_ENV}
+
+post-extract:
+ ${CP} -pR ${WRKSRC}/python/* ${WRKSRC}/
+
+.include <bsd.port.post.mk>
diff --git a/japanese/py-zinnia/distinfo b/japanese/py-zinnia/distinfo
new file mode 100644
index 000000000000..18174a23dba3
--- /dev/null
+++ b/japanese/py-zinnia/distinfo
@@ -0,0 +1,2 @@
+SHA256 (zinnia-0.06.tar.gz) = ece3af93f937282971634fd81d3e997f848e8cfa958220e26a4564ca064ac20b
+SIZE (zinnia-0.06.tar.gz) = 457415
diff --git a/japanese/py-zinnia/pkg-descr b/japanese/py-zinnia/pkg-descr
new file mode 100644
index 000000000000..8284b2198213
--- /dev/null
+++ b/japanese/py-zinnia/pkg-descr
@@ -0,0 +1,10 @@
+Zinnia is a simple, customizable and portable online hand recognition system
+based on Support Vector Machines. Zinnia simply receives user pen strokes as a
+sequence of coordinate data and outputs n-best characters sorted by SVM
+confidence. To keep portability, Zinnia doesn't have any rendering
+functionality. In addition to recognition, Zinnia provides training module that
+allows us to create any hand-written recognition systems with low-cost.
+
+This is the python interface to the library.
+
+WWW: http://zinnia.sourceforge.net/
diff --git a/japanese/py-zinnia/pkg-plist b/japanese/py-zinnia/pkg-plist
new file mode 100644
index 000000000000..ce8e38e2cf76
--- /dev/null
+++ b/japanese/py-zinnia/pkg-plist
@@ -0,0 +1,6 @@
+%%PYTHON_SITELIBDIR%%/_zinnia.so
+%%PYTHON_SITELIBDIR%%/zinnia.py
+%%PYTHON_SITELIBDIR%%/zinnia.pyc
+%%PYTHON_SITELIBDIR%%/zinnia.pyo
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%