-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimport of package kinput2 from japanese/kinput2 into inputmethod/ki…
…nput2. This is part of the japanese category retirement. CATEGORIES and pathnames to japanese/ adjusted.
- Loading branch information
Showing
9 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Kinput2 is an input server for X11 applications that want Japanese | ||
text input. | ||
|
||
A client that wants kana-kanji conversion service for Japanese text | ||
sends a request to kinput2. Kinput2 receives the request, does | ||
kana-kanji conversion, and sends the converted text back to the | ||
client. | ||
|
||
The port supports Wnn4. Egg key binding is available, | ||
if you run | ||
|
||
kinput2 -ccdef ccdef.kinput2.egg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
====================================================================== | ||
$NetBSD: MESSAGE,v 1.1.1.1 2002/05/31 13:01:25 seb Exp $ | ||
|
||
If you want to use Egg key binding on kinput2, then | ||
you should run | ||
|
||
kinput2 -ccdef ccdef.kinput2.egg | ||
|
||
====================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:01:25 seb Exp $ | ||
# FreeBSD Id: Makefile,v 1.4 1999/06/06 13:19:49 taoka Exp $ | ||
|
||
DISTNAME= kinput2-v3 | ||
PKGNAME= kinput2-3.0 | ||
CATEGORIES= japanese inputmethod | ||
MASTER_SITES= ftp://ftp.sra.co.jp/pub/x11/kinput2/ | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= Input server of Japanese text | ||
|
||
USE_IMAKE= YES | ||
|
||
PLIST_SRC= ${PKGDIR}/PLIST-common | ||
|
||
.include "../../mk/bsd.prefs.mk" | ||
.if defined(USE_CANNA) && ${USE_CANNA} != YES && \ | ||
defined(USE_WNN4) && ${USE_WNN4} != YES && \ | ||
defined(USE_WNN6) && ${USE_WNN6} != YES && \ | ||
defined(USE_SJ3) && ${USE_SJ3} != YES | ||
IGNORE= ${PKGNAME} is ignored. because USE_CANNA,USE_WNN4,USE_WNN6,USE_SJ3 are "NO" | ||
.endif | ||
|
||
.if !defined(USE_CANNA) || ${USE_CANNA} == YES | ||
DEPENDS+= Canna-lib>=3.5.2:../../inputmethod/canna-lib | ||
KINPUT2_DEF+= -DUseCanna -Dport_CANNASRC=${LOCALBASE}/include \ | ||
-Dport_CANNALIB="${LDFLAGS} -lcanna16" | ||
.endif | ||
|
||
#.if defined(USE_WNN6) && ${USE_WNN6} == YES | ||
#DEPENDS+= | ||
#KINPUT2_DEF+= -DUseWnn -DUseWnn6 -Dport_WNNINCDIR=${LOCALBASE}/include/wnn \ | ||
# -Dport_WNNLIB="${LDFLAGS} -lwnn6 -lcrypt" | ||
#.elif (!defined(USE_WNN4) || ${USE_WNN4} == YES) | ||
.if !defined(USE_WNN4) || ${USE_WNN4} == YES | ||
DEPENDS+= ja-FreeWnn-lib-1.10:../../inputmethod/ja-freewnn-lib | ||
KINPUT2_DEF+= -DUseWnn -Dport_WNNINCDIR=${LOCALBASE}/include/wnn \ | ||
-Dport_WNNLIB="${LDFLAGS} -lwnn -lcrypt" | ||
PLIST_SRC+= ${PKGDIR}/PLIST-freewnn | ||
.endif | ||
|
||
.if !defined(USE_SJ3) || ${USE_SJ3} == YES | ||
DEPENDS+= sj3-lib-2.0.1.20:../../inputmethod/sj3-lib | ||
KINPUT2_DEF+= -DUseSj3 -Dport_SJ3SRC=${LOCALBASE}/include \ | ||
-Dport_SJ3LIB="${LDFLAGS} -lsj3lib" | ||
PLIST_SRC+= ${PKGDIR}/PLIST-sj3 | ||
.endif | ||
|
||
MAKE_ENV+= PORT_IMAKE_DEFINES='${KINPUT2_DEF}' | ||
|
||
pre-configure: | ||
${MV} -f ${WRKSRC}/Kinput2.conf ${WRKSRC}/Kinput2.conf.org | ||
${CP} ${FILESDIR}/Kinput2.conf ${WRKSRC}/Kinput2.conf | ||
|
||
do-configure: | ||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} | ||
|
||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@comment $NetBSD: PLIST-common,v 1.1.1.1 2002/05/31 13:01:25 seb Exp $ | ||
bin/kinput2 | ||
lib/X11/app-defaults/Kinput2 | ||
man/cat1/kinput2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@comment $NetBSD: PLIST-freewnn,v 1.1.1.1 2002/05/31 13:01:25 seb Exp $ | ||
lib/X11/ccdef/ccdef.kinput2 | ||
lib/X11/ccdef/rule.eggfunc | ||
lib/X11/ccdef/rule.func | ||
lib/X11/ccdef/rule.greek | ||
lib/X11/ccdef/rule.kana | ||
lib/X11/ccdef/rule.kana2 | ||
lib/X11/ccdef/rule.roma | ||
lib/X11/ccdef/rule.wnnroma | ||
lib/X11/ccdef/rule.zascii | ||
lib/X11/ccdef/ccdef.kinput2.egg | ||
lib/X11/ccdef/rule.hiragana.egg | ||
lib/X11/ccdef/rule.katakana.egg | ||
lib/X11/ccdef/rule.kigou.egg | ||
@dirrm lib/X11/ccdef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@comment $NetBSD: PLIST-sj3,v 1.1.1.1 2002/05/31 13:01:25 seb Exp $ | ||
lib/X11/sj3def/sjhk | ||
lib/X11/sj3def/sjrc | ||
lib/X11/sj3def/sjrk | ||
lib/X11/sj3def/sjsb | ||
lib/X11/sj3def/sjzh | ||
@dirrm lib/X11/sj3def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:01:25 seb Exp $ | ||
|
||
SHA1 (kinput2-v3.tar.gz) = a9e2be1fe4da4c5f4921a1d753f58d20f1ef3693 | ||
Size (kinput2-v3.tar.gz) = 462281 bytes | ||
SHA1 (patch-aa) = c41b2baa5de117c031c266afbff0e947340ab708 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
XCOMM Each parameter in this file is explained in the original | ||
XCOMM Kinput2.conf (probably Kinput2.conf.org) | ||
|
||
XCOMM Redefine $(IMAKE_CMD) for FreeBSD ports (by S. Taoka) | ||
|
||
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(PORT_IMAKE_DEFINES) | ||
|
||
CCDEF_DIR = $(LIBDIR)/ccdef | ||
|
||
WNNSRC = port_WNNSRC | ||
WNNINCDIR = port_WNNINCDIR | ||
WNNLIB = port_WNNLIB | ||
|
||
CANNAINSTDIR = port_CANNAINSTDIR | ||
CANNASRC = port_CANNASRC | ||
CANNALIB = port_CANNALIB | ||
|
||
SJ3DEF_DIR = $(LIBDIR)/sj3def | ||
SJ3SRC = port_SJ3SRC | ||
SJ3LIB = port_SJ3LIB | ||
|
||
TRANSPORTDEFS = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:01:26 seb Exp $ | ||
|
||
--- include/wnnlib.h.orig Thu May 27 08:55:22 1999 | ||
+++ include/wnnlib.h Fri Sep 3 09:34:09 1999 | ||
@@ -29,4 +29,5 @@ | ||
#define _wnnlib_h | ||
|
||
+#include <config.h> | ||
#include <commonhd.h> | ||
#include <jllib.h> |