1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

add gb2jis, convert GuoBiao Hanzi to JIS Kanji

PR:		21306
Submitted by:	Zhang Shu <jo-c@is.aist-nara.ac.jp>
This commit is contained in:
Ying-Chieh Liao 2001-03-07 13:19:27 +00:00
parent 38203d8bfc
commit 7024947efa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39184
7 changed files with 47 additions and 0 deletions

View File

@ -7,6 +7,7 @@
SUBDIR += cn2jp
SUBDIR += dumpasn1
SUBDIR += fconv
SUBDIR += gb2jis
SUBDIR += i18ntools
SUBDIR += iconv
SUBDIR += iconv-extra

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: gb2jis
# Date created: 16 September 2000
# Whom: Zhang Shu
#
# $FreeBSD$
#
PORTNAME= gb2jis
PORTVERSION= 1.5
CATEGORIES= converters chinese japanese
MASTER_SITES= ftp://ftp.ifcss.org/pub/software/unix/convert/
DISTNAME= ${PORTNAME}
MAINTAINER= jo-c@is.aist-nara.ac.jp
ALL_TARGET=
MAN1= gb2jis.1
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; \
s|%%MAN1PREFIX%%|${MAN1PREFIX}|g" ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (gb2jis.tar.gz) = b779db46bc4ded9b5ea291cfcf726a75

View File

@ -0,0 +1,14 @@
--- Makefile.orig Wed Mar 7 21:07:16 2001
+++ Makefile Wed Mar 7 21:13:06 2001
@@ -22,8 +22,9 @@
strip gb2jis
install: gb2jis gb2jis.1
- cp gb2jis /usr/local/bin/gb2jis
- cp gb2jis.1 /usr/local/man/man1/gb2jis.1
+ cp gb2jis %%PREFIX%%/bin
+ cp gb2jis.1 %%MAN1PREFIX%%/man/man1
+ cp gb2jis.el %%PREFIX%%/share/emacs/site-lisp
# nroff -man gb2jis.1 > /usr/local/catman/C/u_man/cat1/gb2jis.1
clean:

View File

@ -0,0 +1 @@
Convert GuoBiao Hanzi to JIS Kanji

View File

@ -0,0 +1,4 @@
GB2JIS converts GB2312-80 and GB8565-88 characters to
JISX0208-1983 and JISX0212-1990 characters. GB2312-80
(^[$A), GB2312-80 + GB8565-88 (^[$(E), and Chinese-EUC
(8-bit GuoBiao) are available for Hanzi code.

View File

@ -0,0 +1,2 @@
bin/gb2jis
share/emacs/site-lisp/gb2jis.el