summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-14 10:03:54 +0000
committerwiz <wiz>2002-07-14 10:03:54 +0000
commit54498c86e0173d2f791ff16bbafb96b7dae714f1 (patch)
tree189d5efc8ce321cf697336796f7191a7629e63bc /misc
parentb8861a22a4e0a1f71d7806c6638238237cb223b8 (diff)
downloadpkgsrc-54498c86e0173d2f791ff16bbafb96b7dae714f1.tar.gz
Initial import of kanjipad.
KanjiPad is a very simple program for handwriting recognition - The user draws a character into the box, then requests translation. The best candidates are displayed along the right hand side of the window and can be selected for pasting into other programs. It is meant primarily for dictionary purposes for learners of Japanese - it does not support entering kana, so it's usefulness as an input method is limited. Furthermore, if you already know the reading of a character, conventional pronunciation based methods of entering the character are probably faster.
Diffstat (limited to 'misc')
-rw-r--r--misc/kanjipad/DESCR10
-rw-r--r--misc/kanjipad/Makefile23
-rw-r--r--misc/kanjipad/PLIST5
-rw-r--r--misc/kanjipad/distinfo5
-rw-r--r--misc/kanjipad/patches/patch-aa18
5 files changed, 61 insertions, 0 deletions
diff --git a/misc/kanjipad/DESCR b/misc/kanjipad/DESCR
new file mode 100644
index 00000000000..74e24f7276a
--- /dev/null
+++ b/misc/kanjipad/DESCR
@@ -0,0 +1,10 @@
+KanjiPad is a very simple program for handwriting recognition -
+The user draws a character into the box, then requests translation.
+The best candidates are displayed along the right hand side of
+the window and can be selected for pasting into other programs.
+
+It is meant primarily for dictionary purposes for learners of Japanese
+- it does not support entering kana, so it's usefulness as an input
+method is limited. Furthermore, if you already know the reading of a
+character, conventional pronunciation based methods of entering the
+character are probably faster.
diff --git a/misc/kanjipad/Makefile b/misc/kanjipad/Makefile
new file mode 100644
index 00000000000..eb81c2312b4
--- /dev/null
+++ b/misc/kanjipad/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/14 10:03:54 wiz Exp $
+#
+
+DISTNAME= kanjipad-1.2.1
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.gtk.org/pub/users/otaylor/kanjipad/
+
+MAINTAINER= wiz@netbsd.org
+HOMEPAGE= http://www.gtk.org/~otaylor/kanjipad/index.html
+COMMENT= Japanese handwriting recognition with GTK interface
+
+BUILD_DEPENDS+= perl>=5.0:../../lang/perl5
+
+USE_BUILDLINK_ONLY= YES
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kanjipad
+ ${INSTALL_PROGRAM} ${WRKSRC}/kanjipad ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/kpengine ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/jdata.dat ${PREFIX}/share/kanjipad
+
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/kanjipad/PLIST b/misc/kanjipad/PLIST
new file mode 100644
index 00000000000..702a6f90eb2
--- /dev/null
+++ b/misc/kanjipad/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/14 10:03:54 wiz Exp $
+bin/kanjipad
+bin/kpengine
+share/kanjipad/jdata.dat
+@dirrm share/kanjipad
diff --git a/misc/kanjipad/distinfo b/misc/kanjipad/distinfo
new file mode 100644
index 00000000000..277322bb532
--- /dev/null
+++ b/misc/kanjipad/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/14 10:03:54 wiz Exp $
+
+SHA1 (kanjipad-1.2.1.tar.gz) = 8ddc4222386feeb184dae4c57dc7ec3e922adfbc
+Size (kanjipad-1.2.1.tar.gz) = 74287 bytes
+SHA1 (patch-aa) = f44c13036bc990915e50cc1a288bacb09126a570
diff --git a/misc/kanjipad/patches/patch-aa b/misc/kanjipad/patches/patch-aa
new file mode 100644
index 00000000000..46e90913f02
--- /dev/null
+++ b/misc/kanjipad/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/14 10:03:54 wiz Exp $
+
+--- Makefile.orig Wed Mar 31 09:36:32 1999
++++ Makefile
+@@ -1,10 +1,10 @@
+ OPTIMIZE=-g -Wall
+ #OPTIMIZE=-O2
+
+-GTKLIBS=`gtk-config --libs`
+-GTKINC=`gtk-config --cflags`
++GTKLIBS=`${GTK_CONFIG} --libs`
++GTKINC=`${GTK_CONFIG} --cflags`
+
+-PREFIX=/usr/local
++#PREFIX=/usr/local
+ DATADIR=$(PREFIX)/share
+
+ # location in which binaries are installed