From 56c167afd4024879a0cead181f5877d4c340437b Mon Sep 17 00:00:00 2001 From: Yoichi NAKAYAMA Date: Wed, 3 Apr 2002 16:11:01 +0000 Subject: Add kanjipad, a Japanese handwriting recognition tool. PR: ports/36538 Submitted by: Christophe Juniet --- japanese/kanjipad/Makefile | 24 ++++++++++++++++++++++++ japanese/kanjipad/distinfo | 1 + japanese/kanjipad/files/patch-Makefile | 24 ++++++++++++++++++++++++ japanese/kanjipad/pkg-comment | 1 + japanese/kanjipad/pkg-descr | 8 ++++++++ japanese/kanjipad/pkg-plist | 4 ++++ 6 files changed, 62 insertions(+) create mode 100644 japanese/kanjipad/Makefile create mode 100644 japanese/kanjipad/distinfo create mode 100644 japanese/kanjipad/files/patch-Makefile create mode 100644 japanese/kanjipad/pkg-comment create mode 100644 japanese/kanjipad/pkg-descr create mode 100644 japanese/kanjipad/pkg-plist (limited to 'japanese/kanjipad') 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 +# +# $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 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 + +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 -- cgit v1.2.3