japanese handwritten recognition,
poor substitute for the rocking linux zaurus IM.
This commit is contained in:
parent
6b8072735c
commit
6a0cd47ccf
29
japanese/kanjipad/Makefile
Normal file
29
japanese/kanjipad/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/07/16 12:33:50 espie Exp $
|
||||
|
||||
COMMENT='japanese handwriting recognition'
|
||||
CATEGORIES=japanese
|
||||
HOMEPAGE=http://www.gtk.org/~otaylor/kanjipad/
|
||||
|
||||
DISTNAME=kanjipad-1.2.1
|
||||
MASTER_SITES=ftp://ftp.gtk.org/pub/users/otaylor/kanjipad
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_FTP=Yes
|
||||
PERMIT_PACKAGE_CDROM=Yes
|
||||
PERMIT_DISTFILES_FTP=Yes
|
||||
PERMIT_DISTFILES_CDROM=Yes
|
||||
|
||||
LIB_DEPENDS=gmodule,gtk,gdk::x11/gtk+ \
|
||||
glib::devel/glib
|
||||
|
||||
MODULES=gettext
|
||||
WANTLIB= c Xext Xi X11 m
|
||||
|
||||
MAKE_FLAGS=OPTIMIZE='${CFLAGS}' PREFIX=${PREFIX}
|
||||
FAKE_FLAGS=PREFIX=${WRKINST}${TRUEPREFIX} OPTIMIZE='${CFLAGS}'
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kanjipad
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kanjipad
|
||||
|
||||
.include <bsd.port.mk>
|
4
japanese/kanjipad/distinfo
Normal file
4
japanese/kanjipad/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (kanjipad-1.2.1.tar.gz) = df12d493b4bdb3defdff3d790b689b74
|
||||
RMD160 (kanjipad-1.2.1.tar.gz) = 8fade0f6efb5d0e02715c7f8ea7973f23b36d0d1
|
||||
SHA1 (kanjipad-1.2.1.tar.gz) = 8ddc4222386feeb184dae4c57dc7ec3e922adfbc
|
||||
SIZE (kanjipad-1.2.1.tar.gz) = 74287
|
23
japanese/kanjipad/patches/patch-kanjipad_c
Normal file
23
japanese/kanjipad/patches/patch-kanjipad_c
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-kanjipad_c,v 1.1.1.1 2005/07/16 12:33:50 espie Exp $
|
||||
--- kanjipad.c.orig Sat Jul 16 14:19:07 2005
|
||||
+++ kanjipad.c Sat Jul 16 14:19:51 2005
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "kanjipad.h"
|
||||
@@ -393,9 +394,9 @@ init_engine()
|
||||
dup2 (out_fd[1], STDOUT_FILENO);
|
||||
|
||||
if (data_file)
|
||||
- execlp ("kpengine","kpengine","--data-file", data_file, NULL);
|
||||
+ execlp ("kpengine","kpengine","--data-file", data_file, (char *)0);
|
||||
else
|
||||
- execlp ("kpengine","kpengine", NULL);
|
||||
+ execlp ("kpengine","kpengine", (char *)0);
|
||||
|
||||
g_error ("Couldn't exec kpengine: %s", g_strerror(errno));
|
||||
|
0
japanese/kanjipad/pkg/DESCR
Normal file
0
japanese/kanjipad/pkg/DESCR
Normal file
7
japanese/kanjipad/pkg/PLIST
Normal file
7
japanese/kanjipad/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/07/16 12:33:50 espie Exp $
|
||||
bin/kanjipad
|
||||
bin/kpengine
|
||||
share/doc/kanjipad/
|
||||
share/doc/kanjipad/README
|
||||
share/kanjipad/
|
||||
share/kanjipad/jdata.dat
|
Loading…
Reference in New Issue
Block a user