From aab778826208d2e63c1d9f2bfcea9b3252e355f2 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sat, 27 Jun 1998 12:49:27 +0000 Subject: Input server of Japanese text (Wnn4) Submitted by: Satoshi Taoka PR: ports/6028 (part of) --- japanese/kinput2-freewnn/Makefile | 68 ++++++++++++++++++++++++++++++++++++ japanese/kinput2-freewnn/distinfo | 1 + japanese/kinput2-freewnn/pkg-comment | 1 + japanese/kinput2-freewnn/pkg-descr | 16 +++++++++ japanese/kinput2-freewnn/pkg-message | 7 ++++ japanese/kinput2-freewnn/pkg-plist | 17 +++++++++ japanese/kinput2/Makefile | 68 ++++++++++++++++++++++++++++++++++++ japanese/kinput2/distinfo | 1 + japanese/kinput2/pkg-comment | 1 + japanese/kinput2/pkg-descr | 16 +++++++++ japanese/kinput2/pkg-message | 7 ++++ japanese/kinput2/pkg-plist | 17 +++++++++ 12 files changed, 220 insertions(+) create mode 100644 japanese/kinput2-freewnn/Makefile create mode 100644 japanese/kinput2-freewnn/distinfo create mode 100644 japanese/kinput2-freewnn/pkg-comment create mode 100644 japanese/kinput2-freewnn/pkg-descr create mode 100644 japanese/kinput2-freewnn/pkg-message create mode 100644 japanese/kinput2-freewnn/pkg-plist create mode 100644 japanese/kinput2/Makefile create mode 100644 japanese/kinput2/distinfo create mode 100644 japanese/kinput2/pkg-comment create mode 100644 japanese/kinput2/pkg-descr create mode 100644 japanese/kinput2/pkg-message create mode 100644 japanese/kinput2/pkg-plist diff --git a/japanese/kinput2-freewnn/Makefile b/japanese/kinput2-freewnn/Makefile new file mode 100644 index 000000000000..78c31fdabfa5 --- /dev/null +++ b/japanese/kinput2-freewnn/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: kinput2-wnn4 +# Version required: 2.0p4 +# Date created: 19 Dec 1997 +# Whom: Satoshi TAOKA +# +# $Id$ +# + +DISTNAME= kinput2-v2-fix4 +PKGNAME?= ja-kinput2-wnn4-2.0.4 +CATEGORIES= japanese x11 +MASTER_SITES= ftp://ftp.sra.co.jp/pub/x11/kinput2/ + +MAINTAINER= taoka@infonets.hiroshima-u.ac.jp + +LIB_DEPENDS= ${LIB_INPUT_METHOD} +BUILD_DEPENDS= ${BUILD_INPUT_METHOD} + +PATCHDIR= ${.CURDIR}/../kinput2-wnn4/patches +FILESDIR= ${.CURDIR}/../kinput2-wnn4/files +NO_WRKSUBDIR= yes +USE_IMAKE= yes + +.if !defined(CANNA) && !defined(SJ3) && !defined(WNN4) && !defined(WNN6) +# For this port +WNN4= yes +.endif +# +# Specifying a velue INPUT_METHOD, and seting values BUILD_DEPENDS, +# LIB_DEPENDS, etc. +.if defined(CANNA) +INPUT_METHOD+= canna +LIB_INPUT_METHOD+= canna\\.1\\.:${PORTSDIR}/japanese/Canna +KINPUT2_DEF+= -DUseCanna +.endif +.if defined(SJ3) +INPUT_METHOD+= sj3 +BUILD_INPUT_METHOD+= sj3serv:${PORTSDIR}/japanese/sj3 +KINPUT2_DEF+= -DUseSj3 +.endif +.if defined(WNN4) +INPUT_METHOD+= wnn4 +BUILD_INPUT_METHOD+= ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn +KINPUT2_DEF+= -DUseWnn +.elif defined(WNN6) +INPUT_METHOD+= wnn6 +BUILD_INPUT_METHOD+= ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn +KINPUT2_DEF+= -DUseWnn -DWnnLibDir=${LOCALBASE}/lib/wnn6 +.endif +# +# Make a value of INPUT_METHOD +.if defined(INPUT_METHOD) +INPUT_METHOD!= echo ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' +.endif +# +# Redefine $(IMAKE_CMD) with $(PORT_IMAKE_DEFINES) in ${WRKSRC}/Kinput2.conf +MAKE_ENV+= PORT_IMAKE_DEFINES='${KINPUT2_DEF}' + +do-configure: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} + +post-install: +# For Wnn4 or Wnn6 + @if [ -e ${PKGDIR}/MESSAGE ]; then \ + ${CAT} ${PKGDIR}/MESSAGE; \ + fi + +.include diff --git a/japanese/kinput2-freewnn/distinfo b/japanese/kinput2-freewnn/distinfo new file mode 100644 index 000000000000..46d611bc72a0 --- /dev/null +++ b/japanese/kinput2-freewnn/distinfo @@ -0,0 +1 @@ +MD5 (kinput2-v2-fix4.tar.gz) = cbee9108f6915b2d9609c380b3ca3720 diff --git a/japanese/kinput2-freewnn/pkg-comment b/japanese/kinput2-freewnn/pkg-comment new file mode 100644 index 000000000000..9c81bc542076 --- /dev/null +++ b/japanese/kinput2-freewnn/pkg-comment @@ -0,0 +1 @@ +Input server of Japanese text (Wnn4) diff --git a/japanese/kinput2-freewnn/pkg-descr b/japanese/kinput2-freewnn/pkg-descr new file mode 100644 index 000000000000..fcd16ff362b8 --- /dev/null +++ b/japanese/kinput2-freewnn/pkg-descr @@ -0,0 +1,16 @@ +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 avairable, +if you run + +kinput2 -ccdef ccdef.kinput2.egg + +-- S. Taoka + + diff --git a/japanese/kinput2-freewnn/pkg-message b/japanese/kinput2-freewnn/pkg-message new file mode 100644 index 000000000000..97668d99055e --- /dev/null +++ b/japanese/kinput2-freewnn/pkg-message @@ -0,0 +1,7 @@ +############################################################ +If you want to use Egg key binding on kinput2, then +you should run + +kinput2 -ccdef ccdef.kinput2.egg + +############################################################" diff --git a/japanese/kinput2-freewnn/pkg-plist b/japanese/kinput2-freewnn/pkg-plist new file mode 100644 index 000000000000..6443168f92e5 --- /dev/null +++ b/japanese/kinput2-freewnn/pkg-plist @@ -0,0 +1,17 @@ +bin/kinput2 +lib/X11/app-defaults/Kinput2 +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 +man/man1/kinput2.1.gz diff --git a/japanese/kinput2/Makefile b/japanese/kinput2/Makefile new file mode 100644 index 000000000000..78c31fdabfa5 --- /dev/null +++ b/japanese/kinput2/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: kinput2-wnn4 +# Version required: 2.0p4 +# Date created: 19 Dec 1997 +# Whom: Satoshi TAOKA +# +# $Id$ +# + +DISTNAME= kinput2-v2-fix4 +PKGNAME?= ja-kinput2-wnn4-2.0.4 +CATEGORIES= japanese x11 +MASTER_SITES= ftp://ftp.sra.co.jp/pub/x11/kinput2/ + +MAINTAINER= taoka@infonets.hiroshima-u.ac.jp + +LIB_DEPENDS= ${LIB_INPUT_METHOD} +BUILD_DEPENDS= ${BUILD_INPUT_METHOD} + +PATCHDIR= ${.CURDIR}/../kinput2-wnn4/patches +FILESDIR= ${.CURDIR}/../kinput2-wnn4/files +NO_WRKSUBDIR= yes +USE_IMAKE= yes + +.if !defined(CANNA) && !defined(SJ3) && !defined(WNN4) && !defined(WNN6) +# For this port +WNN4= yes +.endif +# +# Specifying a velue INPUT_METHOD, and seting values BUILD_DEPENDS, +# LIB_DEPENDS, etc. +.if defined(CANNA) +INPUT_METHOD+= canna +LIB_INPUT_METHOD+= canna\\.1\\.:${PORTSDIR}/japanese/Canna +KINPUT2_DEF+= -DUseCanna +.endif +.if defined(SJ3) +INPUT_METHOD+= sj3 +BUILD_INPUT_METHOD+= sj3serv:${PORTSDIR}/japanese/sj3 +KINPUT2_DEF+= -DUseSj3 +.endif +.if defined(WNN4) +INPUT_METHOD+= wnn4 +BUILD_INPUT_METHOD+= ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn +KINPUT2_DEF+= -DUseWnn +.elif defined(WNN6) +INPUT_METHOD+= wnn6 +BUILD_INPUT_METHOD+= ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn +KINPUT2_DEF+= -DUseWnn -DWnnLibDir=${LOCALBASE}/lib/wnn6 +.endif +# +# Make a value of INPUT_METHOD +.if defined(INPUT_METHOD) +INPUT_METHOD!= echo ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' +.endif +# +# Redefine $(IMAKE_CMD) with $(PORT_IMAKE_DEFINES) in ${WRKSRC}/Kinput2.conf +MAKE_ENV+= PORT_IMAKE_DEFINES='${KINPUT2_DEF}' + +do-configure: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} + +post-install: +# For Wnn4 or Wnn6 + @if [ -e ${PKGDIR}/MESSAGE ]; then \ + ${CAT} ${PKGDIR}/MESSAGE; \ + fi + +.include diff --git a/japanese/kinput2/distinfo b/japanese/kinput2/distinfo new file mode 100644 index 000000000000..46d611bc72a0 --- /dev/null +++ b/japanese/kinput2/distinfo @@ -0,0 +1 @@ +MD5 (kinput2-v2-fix4.tar.gz) = cbee9108f6915b2d9609c380b3ca3720 diff --git a/japanese/kinput2/pkg-comment b/japanese/kinput2/pkg-comment new file mode 100644 index 000000000000..9c81bc542076 --- /dev/null +++ b/japanese/kinput2/pkg-comment @@ -0,0 +1 @@ +Input server of Japanese text (Wnn4) diff --git a/japanese/kinput2/pkg-descr b/japanese/kinput2/pkg-descr new file mode 100644 index 000000000000..fcd16ff362b8 --- /dev/null +++ b/japanese/kinput2/pkg-descr @@ -0,0 +1,16 @@ +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 avairable, +if you run + +kinput2 -ccdef ccdef.kinput2.egg + +-- S. Taoka + + diff --git a/japanese/kinput2/pkg-message b/japanese/kinput2/pkg-message new file mode 100644 index 000000000000..97668d99055e --- /dev/null +++ b/japanese/kinput2/pkg-message @@ -0,0 +1,7 @@ +############################################################ +If you want to use Egg key binding on kinput2, then +you should run + +kinput2 -ccdef ccdef.kinput2.egg + +############################################################" diff --git a/japanese/kinput2/pkg-plist b/japanese/kinput2/pkg-plist new file mode 100644 index 000000000000..6443168f92e5 --- /dev/null +++ b/japanese/kinput2/pkg-plist @@ -0,0 +1,17 @@ +bin/kinput2 +lib/X11/app-defaults/Kinput2 +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 +man/man1/kinput2.1.gz -- cgit v1.2.3