mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add kanjipad, a Japanese handwriting recognition tool.
PR: ports/36538 Submitted by: Christophe Juniet <cjuniet@entreview.com>
This commit is contained in:
parent
9f1ab5925c
commit
56c167afd4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57260
@ -147,6 +147,7 @@
|
|||||||
SUBDIR += kakasi
|
SUBDIR += kakasi
|
||||||
SUBDIR += kanji18
|
SUBDIR += kanji18
|
||||||
SUBDIR += kanji26
|
SUBDIR += kanji26
|
||||||
|
SUBDIR += kanjipad
|
||||||
SUBDIR += kappa20
|
SUBDIR += kappa20
|
||||||
SUBDIR += kbanner
|
SUBDIR += kbanner
|
||||||
SUBDIR += kcc
|
SUBDIR += kcc
|
||||||
|
24
japanese/kanjipad/Makefile
Normal file
24
japanese/kanjipad/Makefile
Normal 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>
|
1
japanese/kanjipad/distinfo
Normal file
1
japanese/kanjipad/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (kanjipad-1.2.1.tar.gz) = df12d493b4bdb3defdff3d790b689b74
|
24
japanese/kanjipad/files/patch-Makefile
Normal file
24
japanese/kanjipad/files/patch-Makefile
Normal 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
|
1
japanese/kanjipad/pkg-comment
Normal file
1
japanese/kanjipad/pkg-comment
Normal file
@ -0,0 +1 @@
|
|||||||
|
Japanese Handwriting recognition
|
8
japanese/kanjipad/pkg-descr
Normal file
8
japanese/kanjipad/pkg-descr
Normal 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/
|
4
japanese/kanjipad/pkg-plist
Normal file
4
japanese/kanjipad/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
bin/kanjipad
|
||||||
|
bin/kpengine
|
||||||
|
share/kanjipad/jdata.dat
|
||||||
|
@dirrm share/kanjipad
|
Loading…
Reference in New Issue
Block a user