summaryrefslogtreecommitdiff
path: root/japanese/kanjipad
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-04-03 16:11:01 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-04-03 16:11:01 +0000
commit56c167afd4024879a0cead181f5877d4c340437b (patch)
treee79eb69e0fbff93d5bd46b01f994fce9c1f38c22 /japanese/kanjipad
parentCope with -CURRENT's new tri-state sendmail_enable rc.conf(5) variable (diff)
Add kanjipad, a Japanese handwriting recognition tool.
PR: ports/36538 Submitted by: Christophe Juniet <cjuniet@entreview.com>
Notes
Notes: svn path=/head/; revision=57260
Diffstat (limited to 'japanese/kanjipad')
-rw-r--r--japanese/kanjipad/Makefile24
-rw-r--r--japanese/kanjipad/distinfo1
-rw-r--r--japanese/kanjipad/files/patch-Makefile24
-rw-r--r--japanese/kanjipad/pkg-comment1
-rw-r--r--japanese/kanjipad/pkg-descr8
-rw-r--r--japanese/kanjipad/pkg-plist4
6 files changed, 62 insertions, 0 deletions
diff --git a/japanese/kanjipad/Makefile b/japanese/kanjipad/Makefile
new file mode 100644
index 000000000000..f6864df8d035
--- /dev/null
+++ b/japanese/kanjipad/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: kanjipad
+# Date created: 30 March 2002
+# Whom: Christophe Juniet <cjuniet@entreview.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kanjipad
+PORTVERSION= 1.2.1
+CATEGORIES= japanese x11
+MASTER_SITES= ftp://ftp.gtk.org/pub/users/otaylor/kanjipad/
+
+MAINTAINER= cjuniet@entreview.com
+
+USE_X_PREFIX= yes
+USE_XLIB= yes
+USE_GTK= yes
+USE_PERL5= yes
+
+post-install:
+ strip ${PREFIX}/bin/kanjipad
+ strip ${PREFIX}/bin/kpengine
+
+.include <bsd.port.mk>
diff --git a/japanese/kanjipad/distinfo b/japanese/kanjipad/distinfo
new file mode 100644
index 000000000000..d9240b77ade6
--- /dev/null
+++ b/japanese/kanjipad/distinfo
@@ -0,0 +1 @@
+MD5 (kanjipad-1.2.1.tar.gz) = df12d493b4bdb3defdff3d790b689b74
diff --git a/japanese/kanjipad/files/patch-Makefile b/japanese/kanjipad/files/patch-Makefile
new file mode 100644
index 000000000000..d00d8b17b047
--- /dev/null
+++ b/japanese/kanjipad/files/patch-Makefile
@@ -0,0 +1,24 @@
+--- Makefile.orig Sat Mar 30 17:12:23 2002
++++ Makefile Sat Mar 30 17:12:10 2002
+@@ -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
+@@ -17,7 +17,7 @@
+ ####### No editing should be needed below here ##########
+
+ OBJS = kpengine.o scoring.o util.o
+-CFLAGS = $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\"
++CFLAGS += $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\"
+
+ all: kpengine kanjipad jdata.dat
diff --git a/japanese/kanjipad/pkg-comment b/japanese/kanjipad/pkg-comment
new file mode 100644
index 000000000000..0922bc769ca5
--- /dev/null
+++ b/japanese/kanjipad/pkg-comment
@@ -0,0 +1 @@
+Japanese Handwriting recognition
diff --git a/japanese/kanjipad/pkg-descr b/japanese/kanjipad/pkg-descr
new file mode 100644
index 000000000000..6815b2c7d676
--- /dev/null
+++ b/japanese/kanjipad/pkg-descr
@@ -0,0 +1,8 @@
+KanjiPad - Japanese Handwriting recognition - By Owen Taylor <otaylor@gtk.org>
+
+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.
+
+WWW: http://www.gtk.org/~otaylor/kanjipad/
diff --git a/japanese/kanjipad/pkg-plist b/japanese/kanjipad/pkg-plist
new file mode 100644
index 000000000000..44b979fabc68
--- /dev/null
+++ b/japanese/kanjipad/pkg-plist
@@ -0,0 +1,4 @@
+bin/kanjipad
+bin/kpengine
+share/kanjipad/jdata.dat
+@dirrm share/kanjipad