1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add kanjipad, a Japanese handwriting recognition tool.

PR:		ports/36538
Submitted by:	Christophe Juniet <cjuniet@entreview.com>
This commit is contained in:
Yoichi NAKAYAMA 2002-04-03 16:11:01 +00:00
parent 9f1ab5925c
commit 56c167afd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57260
7 changed files with 63 additions and 0 deletions

View File

@ -147,6 +147,7 @@
SUBDIR += kakasi
SUBDIR += kanji18
SUBDIR += kanji26
SUBDIR += kanjipad
SUBDIR += kappa20
SUBDIR += kbanner
SUBDIR += kcc

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (kanjipad-1.2.1.tar.gz) = df12d493b4bdb3defdff3d790b689b74

View File

@ -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

View File

@ -0,0 +1 @@
Japanese Handwriting recognition

View File

@ -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/

View File

@ -0,0 +1,4 @@
bin/kanjipad
bin/kpengine
share/kanjipad/jdata.dat
@dirrm share/kanjipad