From dc52e60e8b2c54873f4e072b2fdabcfdec40f9f1 Mon Sep 17 00:00:00 2001 From: Clive Lin Date: Sun, 9 Dec 2001 09:54:01 +0000 Subject: [PATCH] New port: jis2gb jis2gb converts JISX0208-1983 and JISX0212-1990 characters to GB2312-80 and GB8565-88 characters. JISX0208-1983 (^[$B), JISX0208-1990 (^[&@^[$B), JISX0212-1990 (^[$(D), JISC6226-1978 (^[$@), and Japanese-EUC are available for Kanji code. PR: ports/31868 Submitted by: Zhang Shu --- chinese/Makefile | 1 + chinese/jis2gb/Makefile | 26 ++++++++++++++++++++++++++ chinese/jis2gb/distinfo | 1 + chinese/jis2gb/files/patch-aa | 12 ++++++++++++ chinese/jis2gb/pkg-comment | 1 + chinese/jis2gb/pkg-descr | 8 ++++++++ chinese/jis2gb/pkg-plist | 2 ++ 7 files changed, 51 insertions(+) create mode 100644 chinese/jis2gb/Makefile create mode 100644 chinese/jis2gb/distinfo create mode 100644 chinese/jis2gb/files/patch-aa create mode 100644 chinese/jis2gb/pkg-comment create mode 100644 chinese/jis2gb/pkg-descr create mode 100644 chinese/jis2gb/pkg-plist diff --git a/chinese/Makefile b/chinese/Makefile index b6137cdb3a58..b33647c383bd 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -44,6 +44,7 @@ SUBDIR += hc SUBDIR += hztty SUBDIR += irssi + SUBDIR += jis2gb SUBDIR += joe SUBDIR += kcfonts SUBDIR += kde2-i18n diff --git a/chinese/jis2gb/Makefile b/chinese/jis2gb/Makefile new file mode 100644 index 000000000000..115555be0be8 --- /dev/null +++ b/chinese/jis2gb/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: gb2jis +# Date created: 8 November 2001 +# Whom: Zhang Shu +# +# $FreeBSD$ +# + +PORTNAME= jis2gb +PORTVERSION= 1.5 +CATEGORIES= chinese +MASTER_SITES= http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/ftp/program/ +DISTFILES= jis2gb.tar.Z + +MAINTAINER= jo-c@is.aist-nara.ac.jp + +WRKSRC= ${WRKDIR}/jis2gb +ALL_TARGET= + +MAN1= jis2gb.1 +MANCOMPRESSED= yes + +post-install: +# install manual + @${GZIP_CMD} ${PREFIX}/man/man1/jis2gb.1 + +.include diff --git a/chinese/jis2gb/distinfo b/chinese/jis2gb/distinfo new file mode 100644 index 000000000000..a1e4341769fb --- /dev/null +++ b/chinese/jis2gb/distinfo @@ -0,0 +1 @@ +MD5 (jis2gb.tar.Z) = 0524c41489c1a9ddd97473f3a8ab018a diff --git a/chinese/jis2gb/files/patch-aa b/chinese/jis2gb/files/patch-aa new file mode 100644 index 000000000000..d2a7c88a16c6 --- /dev/null +++ b/chinese/jis2gb/files/patch-aa @@ -0,0 +1,12 @@ +*** Makefile Thu Oct 5 17:21:32 1995 +--- Makefile.new Thu Nov 8 17:38:38 2001 +*************** +*** 26,31 **** +--- 26,32 ---- + install: jis2gb jis2gb.1 + cp jis2gb /usr/local/bin/jis2gb + cp jis2gb.1 /usr/local/man/man1/jis2gb.1 ++ cp jis2gb.el /usr/local/share/emacs/site-lisp/jis2gb.el + # nroff -man jis2gb.1 > /usr/local/catman/C/u_man/cat1/jis2gb.1 + + clean: diff --git a/chinese/jis2gb/pkg-comment b/chinese/jis2gb/pkg-comment new file mode 100644 index 000000000000..f548ca400ef7 --- /dev/null +++ b/chinese/jis2gb/pkg-comment @@ -0,0 +1 @@ +Convert JIS Kanji to GuoBiao Hanzi diff --git a/chinese/jis2gb/pkg-descr b/chinese/jis2gb/pkg-descr new file mode 100644 index 000000000000..841873268b81 --- /dev/null +++ b/chinese/jis2gb/pkg-descr @@ -0,0 +1,8 @@ +jis2gb converts JISX0208-1983 and JISX0212-1990 characters +to GB2312-80 and GB8565-88 characters. JISX0208-1983 +(^[$B), JISX0208-1990 (^[&@^[$B), JISX0212-1990 (^[$(D), +JISC6226-1978 (^[$@), and Japanese-EUC are available for +Kanji code. + +-- +Maintainer: Zhang Shu diff --git a/chinese/jis2gb/pkg-plist b/chinese/jis2gb/pkg-plist new file mode 100644 index 000000000000..28389ba6d67b --- /dev/null +++ b/chinese/jis2gb/pkg-plist @@ -0,0 +1,2 @@ +bin/jis2gb +share/emacs/site-lisp/jis2gb.el