From 7291365d6aef36cb357b68337e8a564834e2e163 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 5 Feb 2011 09:41:52 +0000 Subject: 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 Feature safe: yes --- japanese/Makefile | 1 + japanese/py-zinnia/Makefile | 37 +++++++++++++++++++++++++++++++++++++ japanese/py-zinnia/distinfo | 2 ++ japanese/py-zinnia/pkg-descr | 10 ++++++++++ japanese/py-zinnia/pkg-plist | 6 ++++++ 5 files changed, 56 insertions(+) create mode 100644 japanese/py-zinnia/Makefile create mode 100644 japanese/py-zinnia/distinfo create mode 100644 japanese/py-zinnia/pkg-descr create mode 100644 japanese/py-zinnia/pkg-plist (limited to 'japanese') 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 +# +# $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 + +CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +MAKE_ENV:= ${CONFIGURE_ENV} + +post-extract: + ${CP} -pR ${WRKSRC}/python/* ${WRKSRC}/ + +.include 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%% -- cgit