From 7024947efaca9ca964b67290ca8f62df55f1a291 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Wed, 7 Mar 2001 13:19:27 +0000 Subject: add gb2jis, convert GuoBiao Hanzi to JIS Kanji PR: 21306 Submitted by: Zhang Shu --- converters/gb2jis/Makefile | 24 ++++++++++++++++++++++++ converters/gb2jis/distinfo | 1 + converters/gb2jis/files/patch-Makefile | 14 ++++++++++++++ converters/gb2jis/pkg-comment | 1 + converters/gb2jis/pkg-descr | 4 ++++ converters/gb2jis/pkg-plist | 2 ++ 6 files changed, 46 insertions(+) create mode 100644 converters/gb2jis/Makefile create mode 100644 converters/gb2jis/distinfo create mode 100644 converters/gb2jis/files/patch-Makefile create mode 100644 converters/gb2jis/pkg-comment create mode 100644 converters/gb2jis/pkg-descr create mode 100644 converters/gb2jis/pkg-plist (limited to 'converters/gb2jis') diff --git a/converters/gb2jis/Makefile b/converters/gb2jis/Makefile new file mode 100644 index 000000000000..7b6cb640f9ef --- /dev/null +++ b/converters/gb2jis/Makefile @@ -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 diff --git a/converters/gb2jis/distinfo b/converters/gb2jis/distinfo new file mode 100644 index 000000000000..14b9d1cafd99 --- /dev/null +++ b/converters/gb2jis/distinfo @@ -0,0 +1 @@ +MD5 (gb2jis.tar.gz) = b779db46bc4ded9b5ea291cfcf726a75 diff --git a/converters/gb2jis/files/patch-Makefile b/converters/gb2jis/files/patch-Makefile new file mode 100644 index 000000000000..82346e93b8b1 --- /dev/null +++ b/converters/gb2jis/files/patch-Makefile @@ -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: diff --git a/converters/gb2jis/pkg-comment b/converters/gb2jis/pkg-comment new file mode 100644 index 000000000000..7474b3c0dea7 --- /dev/null +++ b/converters/gb2jis/pkg-comment @@ -0,0 +1 @@ +Convert GuoBiao Hanzi to JIS Kanji diff --git a/converters/gb2jis/pkg-descr b/converters/gb2jis/pkg-descr new file mode 100644 index 000000000000..f4633e6ad268 --- /dev/null +++ b/converters/gb2jis/pkg-descr @@ -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. diff --git a/converters/gb2jis/pkg-plist b/converters/gb2jis/pkg-plist new file mode 100644 index 000000000000..1f114aeacdf3 --- /dev/null +++ b/converters/gb2jis/pkg-plist @@ -0,0 +1,2 @@ +bin/gb2jis +share/emacs/site-lisp/gb2jis.el -- cgit v1.2.3