summaryrefslogtreecommitdiff
path: root/inputmethod/zinnia
diff options
context:
space:
mode:
authorobache <obache>2010-05-20 09:05:30 +0000
committerobache <obache>2010-05-20 09:05:30 +0000
commit229924d2acb9545852904451ee998f1d58e0e1ca (patch)
tree422bafa1d212548b2615cd64d33c57cb0b03fba4 /inputmethod/zinnia
parentd1089eb573d423cc11113c8004a00230adab9000 (diff)
downloadpkgsrc-229924d2acb9545852904451ee998f1d58e0e1ca.tar.gz
Import zinnia-0.05 as inputmethod/zinnia.
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.
Diffstat (limited to 'inputmethod/zinnia')
-rw-r--r--inputmethod/zinnia/DESCR6
-rw-r--r--inputmethod/zinnia/Makefile17
-rw-r--r--inputmethod/zinnia/Makefile.common15
-rw-r--r--inputmethod/zinnia/PLIST8
-rw-r--r--inputmethod/zinnia/buildlink3.mk12
-rw-r--r--inputmethod/zinnia/distinfo5
6 files changed, 63 insertions, 0 deletions
diff --git a/inputmethod/zinnia/DESCR b/inputmethod/zinnia/DESCR
new file mode 100644
index 00000000000..2a1bdacd86a
--- /dev/null
+++ b/inputmethod/zinnia/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/inputmethod/zinnia/Makefile b/inputmethod/zinnia/Makefile
new file mode 100644
index 00000000000..f15b8f5bde6
--- /dev/null
+++ b/inputmethod/zinnia/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/20 09:05:30 obache Exp $
+#
+
+.include "Makefile.common"
+
+COMMENT= Online hand writing recognition system with machine learning
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= zinnia.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/zinnia/Makefile.common b/inputmethod/zinnia/Makefile.common
new file mode 100644
index 00000000000..811a30a7164
--- /dev/null
+++ b/inputmethod/zinnia/Makefile.common
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2010/05/20 09:05:30 obache Exp $
+# used by inputmethod/p5-zinnia/Makefile
+# used by inputmethod/py-zinnia/Makefile
+# used by inputmethod/ruby-zinnia/Makefile
+
+DISTNAME= zinnia-0.05
+CATEGORIES= inputmethod
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zinnia/}
+
+DISTINFO_FILE= ${.CURDIR}/../../inputmethod/zinnia/distinfo
+PATCHDIR= ${.CURDIR}/../../inputmethod/zinnia/patches
+
+MAINTAINER?= obache@NetBSD.org
+HOMEPAGE= http://zinnia.sourceforge.net/
+LICENSE= modified-bsd
diff --git a/inputmethod/zinnia/PLIST b/inputmethod/zinnia/PLIST
new file mode 100644
index 00000000000..d7cc2a064fc
--- /dev/null
+++ b/inputmethod/zinnia/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/20 09:05:30 obache Exp $
+bin/zinnia
+bin/zinnia_convert
+bin/zinnia_learn
+include/zinnia.h
+include/zinnia/zinnia.h
+lib/libzinnia.la
+lib/pkgconfig/zinnia.pc
diff --git a/inputmethod/zinnia/buildlink3.mk b/inputmethod/zinnia/buildlink3.mk
new file mode 100644
index 00000000000..81755d0f5e1
--- /dev/null
+++ b/inputmethod/zinnia/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/20 09:05:30 obache Exp $
+
+BUILDLINK_TREE+= zinnia
+
+.if !defined(ZINNIA_BUILDLINK3_MK)
+ZINNIA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.zinnia+= zinnia>=0.05
+BUILDLINK_PKGSRCDIR.zinnia?= ../../inputmethod/zinnia
+.endif # ZINNIA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -zinnia
diff --git a/inputmethod/zinnia/distinfo b/inputmethod/zinnia/distinfo
new file mode 100644
index 00000000000..201b18b8389
--- /dev/null
+++ b/inputmethod/zinnia/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/20 09:05:30 obache Exp $
+
+SHA1 (zinnia-0.05.tar.gz) = 85005660f71ff311477efb138a60572a7b500c41
+RMD160 (zinnia-0.05.tar.gz) = 4fe4e244e12de49e9dc2370573daab20e85620fb
+Size (zinnia-0.05.tar.gz) = 455113 bytes