Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2002 17:45:02 +0100 (CET)
From:      Christophe Juniet <cjuniet@entreview.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36538: New port: kanjipad - Japanese handwriting recognition
Message-ID:  <200203301645.g2UGj2S20087@quark.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         36538
>Category:       ports
>Synopsis:       New port: kanjipad - Japanese handwriting recognition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 30 08:50:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christophe Juniet
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD quark.dyndns.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Fri Feb 1 23:46:31 CET 2002 root@quark.dyndns.org:/usr/src/sys/compile/QUARK i386
	
>Description:
	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.

	Particularly useful with kdrill.

>How-To-Repeat:
	
>Fix:
	

--- kanjipad.port begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kanjipad
#	kanjipad/Makefile
#	kanjipad/distinfo
#	kanjipad/pkg-comment
#	kanjipad/pkg-descr
#	kanjipad/pkg-plist
#	kanjipad/files
#	kanjipad/files/patch-Makefile
#
echo c - kanjipad
mkdir -p kanjipad > /dev/null 2>&1
echo x - kanjipad/Makefile
sed 's/^X//' >kanjipad/Makefile << 'END-of-kanjipad/Makefile'
X# New ports collection makefile for:	kanjipad
X# Date created:		30 March 2002
X# Whom:			Christophe Juniet <cjuniet@entreview.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kanjipad
XPORTVERSION=	1.2.1
XCATEGORIES=	japanese x11
XMASTER_SITES=	ftp://ftp.gtk.org/pub/users/otaylor/kanjipad/
X
XMAINTAINER=	cjuniet@entreview.com
X
XUSE_X_PREFIX=	yes
XUSE_XLIB=	yes
XUSE_GTK=	yes
XUSE_PERL5=	yes
X
Xpost-install:
X	strip ${PREFIX}/bin/kanjipad
X	strip ${PREFIX}/bin/kpengine
X
X.include <bsd.port.mk>
END-of-kanjipad/Makefile
echo x - kanjipad/distinfo
sed 's/^X//' >kanjipad/distinfo << 'END-of-kanjipad/distinfo'
XMD5 (kanjipad-1.2.1.tar.gz) = df12d493b4bdb3defdff3d790b689b74
END-of-kanjipad/distinfo
echo x - kanjipad/pkg-comment
sed 's/^X//' >kanjipad/pkg-comment << 'END-of-kanjipad/pkg-comment'
XJapanese Handwriting recognition
END-of-kanjipad/pkg-comment
echo x - kanjipad/pkg-descr
sed 's/^X//' >kanjipad/pkg-descr << 'END-of-kanjipad/pkg-descr'
XKanjiPad - Japanese Handwriting recognition - By Owen Taylor <otaylor@gtk.org>
X
XKanjiPad is a very simple program for handwriting recognition -
XThe user draws a character into the box, then requests translation.
XThe best candidates are displayed along the right hand side of
Xthe window and can be selected for pasting into other programs.
X
XWWW: http://www.gtk.org/~otaylor/kanjipad/
END-of-kanjipad/pkg-descr
echo x - kanjipad/pkg-plist
sed 's/^X//' >kanjipad/pkg-plist << 'END-of-kanjipad/pkg-plist'
Xbin/kanjipad
Xbin/kpengine
Xshare/kanjipad/jdata.dat
X@dirrm share/kanjipad
END-of-kanjipad/pkg-plist
echo c - kanjipad/files
mkdir -p kanjipad/files > /dev/null 2>&1
echo x - kanjipad/files/patch-Makefile
sed 's/^X//' >kanjipad/files/patch-Makefile << 'END-of-kanjipad/files/patch-Makefile'
X--- Makefile.orig	Sat Mar 30 17:12:23 2002
X+++ Makefile	Sat Mar 30 17:12:10 2002
X@@ -1,10 +1,10 @@
X OPTIMIZE=-g -Wall
X #OPTIMIZE=-O2 
X 
X-GTKLIBS=`gtk-config --libs`
X-GTKINC=`gtk-config --cflags`
X+GTKLIBS=`$(GTK_CONFIG) --libs`
X+GTKINC=`$(GTK_CONFIG) --cflags`
X 
X-PREFIX=/usr/local
X+#PREFIX=/usr/local
X DATADIR=$(PREFIX)/share
X 
X # location in which binaries are installed
X@@ -17,7 +17,7 @@
X ####### No editing should be needed below here ##########
X 
X OBJS = kpengine.o scoring.o util.o
X-CFLAGS = $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\"
X+CFLAGS += $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\"
X 
X all: kpengine kanjipad jdata.dat
X 
END-of-kanjipad/files/patch-Makefile
exit
--- kanjipad.port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203301645.g2UGj2S20087>