diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1998-07-08 22:29:30 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1998-07-08 22:29:30 +0800 |
commit | 3e77f99517102a9834f1ddf3c21b0f12e255ecbf (patch) | |
tree | 6589b0c1484c9bd1ab497d6117d8a4e33082ea54 /japanese/onew-freewnn | |
parent | eb65127f1e1504cc44ac0e8e4379ec1735abcdd0 (diff) | |
download | freebsd-ports-graphics-3e77f99517102a9834f1ddf3c21b0f12e255ecbf.tar.gz freebsd-ports-graphics-3e77f99517102a9834f1ddf3c21b0f12e255ecbf.tar.zst freebsd-ports-graphics-3e77f99517102a9834f1ddf3c21b0f12e255ecbf.zip |
A library for Japanese Input Method Wnn4
PR: ports/6029 (part of)
Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Diffstat (limited to 'japanese/onew-freewnn')
-rw-r--r-- | japanese/onew-freewnn/Makefile | 86 | ||||
-rw-r--r-- | japanese/onew-freewnn/distinfo | 1 | ||||
-rw-r--r-- | japanese/onew-freewnn/files/ONEW_CONF-for-canna | 7 | ||||
-rw-r--r-- | japanese/onew-freewnn/files/ONEW_CONF-for-canna+wnn6 | 12 | ||||
-rw-r--r-- | japanese/onew-freewnn/files/ONEW_CONF-for-wnn6 | 8 | ||||
-rw-r--r-- | japanese/onew-freewnn/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/onew-freewnn/pkg-descr | 7 | ||||
-rw-r--r-- | japanese/onew-freewnn/pkg-plist | 3 |
8 files changed, 125 insertions, 0 deletions
diff --git a/japanese/onew-freewnn/Makefile b/japanese/onew-freewnn/Makefile new file mode 100644 index 00000000000..22c05342587 --- /dev/null +++ b/japanese/onew-freewnn/Makefile @@ -0,0 +1,86 @@ +# New ports collection makefile for: ONEW for Wnn4 +# Version required: jvim2.0r+onew2.2.10 +# Date created: 5 Sep 1997 +# Whom: Satoshi TAOKA <taoka@infonets.hiroshima-u.ac.jp> +# +# $Id$ +# + +DISTNAME= jvim2.0r+onew2.2.10 +PKGNAME?= ja-onew-wnn4-2.2.10 +CATEGORIES= japanese +MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Japan/onew/ \ + ftp://ftp.leo.chubu.ac.jp/pub/editor/jvim/ + +MAINTAINER= taoka@infonets.hiroshima-u.ac.jp + +BUILD_DEPENDS= ${BUILD_INPUT_METHOD} +LIB_DEPENDS= ${LIB_INPUT_METHOD} + +PATCHDIR= ${.CURDIR}/../onew-wnn4/patches +FILESDIR= ${.CURDIR}/../onew-wnn4/files +WRKSRC= ${WRKDIR}/onew +# A value 'all' must not be set to TARGET. +ALL_TARGET= + +.if !defined(CANNA) && !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 +JPLIB+= -lcanna +.endif +.if defined(WNN4) +INPUT_METHOD+= wnn4 +BUILD_INPUT_METHOD+= ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn +JPDEF+= -DWNN_ISDIR +JPLIB+= -ljd -lcrypt +.elif defined(WNN6) +INPUT_METHOD+= wnn6 +BUILD_INPUT_METHOD+= ${LOCALBASE}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn +JPDEF+= -DWNN_ISDIR +JPLIB+= -ljd -lcrypt +.endif +# +# Make a value of INPUT_METHOD +.if defined(INPUT_METHOD) +INPUT_METHOD!= echo ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' +.endif +# +ONEW_CONF= ${FILESDIR}/ONEW_CONF-for${INPUT_METHOD} +LIB_NAME= libonew${INPUT_METHOD}.a +PORT_DOCDIR= ${LOCALBASE}/share/doc/ja-onew${INPUT_METHOD} + +post-patch: + ${SED} -e 's,%LOCALBASE%,${LOCALBASE},g' \ + -e 's,%X11BASE%,${X11BASE},g' \ + ${ONEW_CONF} > ${WRKSRC}/ONEW_CONF + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libonew.a ${LOCALBASE}/lib/${LIB_NAME} +.if !defined(NOPORTDOCS) +.if defined(PORT_DOCDIR) + ${MKDIR} ${PORT_DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.ONEW ${PORT_DOCDIR} +.endif +.endif +.if defined(WNN6) + ${MKDIR} ${LOCALBASE}/lib/wnn/ja_JP/rk.wnn6 + for file in 1B_TOUPPER 1B_ZENHIRA 1B_ZENKATA 1B_newTOUPPER \ + 2A_CTRL 2B_DAKUTEN 2B_JIS 2B_ROMKANA 2_TCODE \ + 3B_HANKATA 3B_KATAKANA 3B_ZENKAKU autork \ + mode mode.hankata mode.nohankata; do \ + ${INSTALL_DATA} ${LOCALBASE}/lib/wnn/ja_JP/rk/$${file} \ + ${LOCALBASE}/lib/wnn/ja_JP/rk.wnn6; \ + done + @${ECHO} "############################################################" + @${ECHO} "We install all files in ${LOCALBASE}/lib/wnn/ja_JP/rk/" + @${ECHO} " into new directory ${LOCALBASE}/lib/wnn/ja_JP/rk.wnn6/" + @${ECHO} "############################################################" +.endif + +.include <bsd.port.mk> diff --git a/japanese/onew-freewnn/distinfo b/japanese/onew-freewnn/distinfo new file mode 100644 index 00000000000..413fcea5b9f --- /dev/null +++ b/japanese/onew-freewnn/distinfo @@ -0,0 +1 @@ +MD5 (jvim2.0r+onew2.2.10.tar.gz) = 42e04a80f3dbdfca4fbe8b9e634d1380 diff --git a/japanese/onew-freewnn/files/ONEW_CONF-for-canna b/japanese/onew-freewnn/files/ONEW_CONF-for-canna new file mode 100644 index 00000000000..73a5cb6ecfb --- /dev/null +++ b/japanese/onew-freewnn/files/ONEW_CONF-for-canna @@ -0,0 +1,7 @@ +CANNAINC = -I%LOCALBASE%/include +CANNAOBJ = Canna.o CannaRk.o +CANNALIB = -L%LOCALBASE%/lib -lcanna +CANNA_RKPATH = '".:$$HOME:%LOCALBASE%/lib/canna/dic:/tmp/onew_rktabs/canna"' +RKKLIBS = $(CANNALIB) +RKKOBJS = $(CANNAOBJ) +ONEW_ENGINE = '"canna/canna"' diff --git a/japanese/onew-freewnn/files/ONEW_CONF-for-canna+wnn6 b/japanese/onew-freewnn/files/ONEW_CONF-for-canna+wnn6 new file mode 100644 index 00000000000..719a053d75e --- /dev/null +++ b/japanese/onew-freewnn/files/ONEW_CONF-for-canna+wnn6 @@ -0,0 +1,12 @@ +WNNINC = -I%X11BASE%/include/wnn +WNNLIB = -L%X11BASE%/lib -ljd +WNN_RKPATH = '"./rk:$$ONEW_WNN_ROMKAND:$$ONEW_ROMKAND:$$HOME/.rk:%LOCALBASE%/lib/wnn/ja_JP/rk.wnn6:%LOCALBASE%/lib/wnn/ja_JP/rk:/tmp/onew_rktabs/wnn"' +WNN_DICLIST = '"kihon tankan tankan3 zip ikeiji symbol tankan2 tel usr/$$USER/ud=10 usr/$$USER/private=10"' +WNN_DICDIRS = '"iwanami/%s.dic;usr/$$USER/%s.h"' +CANNAINC = -I%LOCALBASE%/include +CANNAOBJ = Canna.o CannaRk.o +CANNALIB = -L%LOCALBASE%/lib -lcanna +CANNA_RKPATH = '".:$$HOME:%LOCALBASE%/lib/canna/dic:/tmp/onew_rktabs/canna"' +RKKLIBS = $(WNNLIB) $(CANNALIB) +RKKOBJS = $(WNNOBJ) $(CANNAOBJ) +MISCLIB = -lcrypt diff --git a/japanese/onew-freewnn/files/ONEW_CONF-for-wnn6 b/japanese/onew-freewnn/files/ONEW_CONF-for-wnn6 new file mode 100644 index 00000000000..d62d5ad33ae --- /dev/null +++ b/japanese/onew-freewnn/files/ONEW_CONF-for-wnn6 @@ -0,0 +1,8 @@ +WNNINC = -I%X11BASE%/include/wnn +WNNLIB = -L%X11BASE%/lib -ljd +WNN_RKPATH = '"./rk:$$ONEW_WNN_ROMKAND:$$ONEW_ROMKAND:$$HOME/.rk:%LOCALBASE%/lib/wnn/ja_JP/rk.wnn6:%LOCALBASE%/lib/wnn/ja_JP/rk:/tmp/onew_rktabs/wnn"' +WNN_DICLIST = '"kihon tankan tankan3 zip ikeiji symbol tankan2 tel usr/$$USER/ud=10 usr/$$USER/private=10"' +WNN_DICDIRS = '"iwanami/%s.dic;usr/$$USER/%s.h"' +RKKLIBS = $(WNNLIB) +RKKOBJS = $(WNNOBJ) +MISCLIB = -lcrypt diff --git a/japanese/onew-freewnn/pkg-comment b/japanese/onew-freewnn/pkg-comment new file mode 100644 index 00000000000..6228d350bc5 --- /dev/null +++ b/japanese/onew-freewnn/pkg-comment @@ -0,0 +1 @@ +A library for Japanese Input Method Wnn4 diff --git a/japanese/onew-freewnn/pkg-descr b/japanese/onew-freewnn/pkg-descr new file mode 100644 index 00000000000..b17aa6dbe35 --- /dev/null +++ b/japanese/onew-freewnn/pkg-descr @@ -0,0 +1,7 @@ +ONEW is a library for using Japanese Input Method Canna, Wnn4, or +Wnn6. + +This is for Wnn4. + +-- S. Taoka +<taoka@infonets.hiroshima-u.ac.jp> diff --git a/japanese/onew-freewnn/pkg-plist b/japanese/onew-freewnn/pkg-plist new file mode 100644 index 00000000000..d82a3936d3d --- /dev/null +++ b/japanese/onew-freewnn/pkg-plist @@ -0,0 +1,3 @@ +lib/libonew-wnn4.a +share/doc/ja-onew-wnn4/README.ONEW +@dirrm share/doc/ja-onew-wnn4 |