From owner-freebsd-ports Sat Mar 30 8:57:47 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2494B37B400 for ; Sat, 30 Mar 2002 08:57:32 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UGo6X01480; Sat, 30 Mar 2002 08:50:06 -0800 (PST) (envelope-from gnats) Received: from quark.dyndns.org (s017.dhcp212-198-162.noos.fr [212.198.162.17]) by hub.freebsd.org (Postfix) with ESMTP id BB50137B419 for ; Sat, 30 Mar 2002 08:45:35 -0800 (PST) Received: (from chris@localhost) by quark.dyndns.org (8.11.6/8.11.6) id g2UGj2S20087; Sat, 30 Mar 2002 17:45:02 +0100 (CET) (envelope-from chris) Message-Id: <200203301645.g2UGj2S20087@quark.dyndns.org> Date: Sat, 30 Mar 2002 17:45:02 +0100 (CET) From: Christophe Juniet Reply-To: Christophe Juniet To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36538: New port: kanjipad - Japanese handwriting recognition Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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 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 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