diff options
author | seb <seb@pkgsrc.org> | 2002-05-31 13:01:25 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-05-31 13:01:25 +0000 |
commit | 6986cb4c86c1f1bcb3e0656c7178b9ec528f835d (patch) | |
tree | f0a15843366fd7d130b094623056275782f091f4 /inputmethod/kinput2 | |
parent | e1408e1c8f93995b317373a46474a803f732e379 (diff) | |
download | pkgsrc-6986cb4c86c1f1bcb3e0656c7178b9ec528f835d.tar.gz |
Reimport of package kinput2 from japanese/kinput2 into inputmethod/kinput2.
This is part of the japanese category retirement.
CATEGORIES and pathnames to japanese/ adjusted.
Diffstat (limited to 'inputmethod/kinput2')
-rw-r--r-- | inputmethod/kinput2/DESCR | 12 | ||||
-rw-r--r-- | inputmethod/kinput2/MESSAGE | 9 | ||||
-rw-r--r-- | inputmethod/kinput2/Makefile | 58 | ||||
-rw-r--r-- | inputmethod/kinput2/PLIST-common | 4 | ||||
-rw-r--r-- | inputmethod/kinput2/PLIST-freewnn | 15 | ||||
-rw-r--r-- | inputmethod/kinput2/PLIST-sj3 | 7 | ||||
-rw-r--r-- | inputmethod/kinput2/distinfo | 5 | ||||
-rw-r--r-- | inputmethod/kinput2/files/Kinput2.conf | 22 | ||||
-rw-r--r-- | inputmethod/kinput2/patches/patch-aa | 10 |
9 files changed, 142 insertions, 0 deletions
diff --git a/inputmethod/kinput2/DESCR b/inputmethod/kinput2/DESCR new file mode 100644 index 00000000000..3e7fe7526dd --- /dev/null +++ b/inputmethod/kinput2/DESCR @@ -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 diff --git a/inputmethod/kinput2/MESSAGE b/inputmethod/kinput2/MESSAGE new file mode 100644 index 00000000000..65925fd730d --- /dev/null +++ b/inputmethod/kinput2/MESSAGE @@ -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 + +====================================================================== diff --git a/inputmethod/kinput2/Makefile b/inputmethod/kinput2/Makefile new file mode 100644 index 00000000000..a2b88713e5c --- /dev/null +++ b/inputmethod/kinput2/Makefile @@ -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= tech-pkg-ja@jp.netbsd.org +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" diff --git a/inputmethod/kinput2/PLIST-common b/inputmethod/kinput2/PLIST-common new file mode 100644 index 00000000000..0cb901b3122 --- /dev/null +++ b/inputmethod/kinput2/PLIST-common @@ -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 diff --git a/inputmethod/kinput2/PLIST-freewnn b/inputmethod/kinput2/PLIST-freewnn new file mode 100644 index 00000000000..fa7c0eef06a --- /dev/null +++ b/inputmethod/kinput2/PLIST-freewnn @@ -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 diff --git a/inputmethod/kinput2/PLIST-sj3 b/inputmethod/kinput2/PLIST-sj3 new file mode 100644 index 00000000000..651b834051a --- /dev/null +++ b/inputmethod/kinput2/PLIST-sj3 @@ -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 diff --git a/inputmethod/kinput2/distinfo b/inputmethod/kinput2/distinfo new file mode 100644 index 00000000000..11e5c5d7623 --- /dev/null +++ b/inputmethod/kinput2/distinfo @@ -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 diff --git a/inputmethod/kinput2/files/Kinput2.conf b/inputmethod/kinput2/files/Kinput2.conf new file mode 100644 index 00000000000..c7c714ad1da --- /dev/null +++ b/inputmethod/kinput2/files/Kinput2.conf @@ -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 = diff --git a/inputmethod/kinput2/patches/patch-aa b/inputmethod/kinput2/patches/patch-aa new file mode 100644 index 00000000000..c3189656c37 --- /dev/null +++ b/inputmethod/kinput2/patches/patch-aa @@ -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> |