diff options
author | yoichi <yoichi@FreeBSD.org> | 2002-04-04 00:11:01 +0800 |
---|---|---|
committer | yoichi <yoichi@FreeBSD.org> | 2002-04-04 00:11:01 +0800 |
commit | 0a42d25c50df1a2a66ff9d5dba492690e91162bd (patch) | |
tree | e646b874c14dd6c603d36509da9607086e6e277c /japanese | |
parent | 257761d46bce85af663b9d6b76c2bf03b1c4f115 (diff) | |
download | freebsd-ports-gnome-0a42d25c50df1a2a66ff9d5dba492690e91162bd.tar.gz freebsd-ports-gnome-0a42d25c50df1a2a66ff9d5dba492690e91162bd.tar.zst freebsd-ports-gnome-0a42d25c50df1a2a66ff9d5dba492690e91162bd.zip |
Add kanjipad, a Japanese handwriting recognition tool.
PR: ports/36538
Submitted by: Christophe Juniet <cjuniet@entreview.com>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/kanjipad/Makefile | 24 | ||||
-rw-r--r-- | japanese/kanjipad/distinfo | 1 | ||||
-rw-r--r-- | japanese/kanjipad/files/patch-Makefile | 24 | ||||
-rw-r--r-- | japanese/kanjipad/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/kanjipad/pkg-descr | 8 | ||||
-rw-r--r-- | japanese/kanjipad/pkg-plist | 4 |
7 files changed, 63 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 426c1e13f0e1..eeb122709c13 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -147,6 +147,7 @@ SUBDIR += kakasi SUBDIR += kanji18 SUBDIR += kanji26 + SUBDIR += kanjipad SUBDIR += kappa20 SUBDIR += kbanner SUBDIR += kcc 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 |