summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-12-09 09:50:05 +0000
committerClive Lin <clive@FreeBSD.org>2001-12-09 09:50:05 +0000
commit888d029226608366c75f2c7719444a76fbcc1a1c (patch)
tree6ffe9644670711a6b2cf1b1739d9284e297b33f5 /chinese
parentUpdate to 2.6.4 (diff)
New port: gb2jis
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. PR: ports/31849 Submitted by: Zhang Shu <jo-c@is.aist-nara.ac.jp>
Notes
Notes: svn path=/head/; revision=51284
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/gb2jis/Makefile26
-rw-r--r--chinese/gb2jis/distinfo1
-rw-r--r--chinese/gb2jis/files/patch-aa12
-rw-r--r--chinese/gb2jis/pkg-comment1
-rw-r--r--chinese/gb2jis/pkg-descr7
-rw-r--r--chinese/gb2jis/pkg-plist2
7 files changed, 50 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 78c8fb3b86a3..b6137cdb3a58 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -34,6 +34,7 @@
SUBDIR += eterm
SUBDIR += firebird
SUBDIR += fortunetw
+ SUBDIR += gb2jis
SUBDIR += gb2ps
SUBDIR += gbscript
SUBDIR += ghostscript6
diff --git a/chinese/gb2jis/Makefile b/chinese/gb2jis/Makefile
new file mode 100644
index 000000000000..6bdf8ef42088
--- /dev/null
+++ b/chinese/gb2jis/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: gb2jis
+# Date created: 16 September 2000
+# Whom: Zhang Shu
+#
+# $FreeBSD$
+#
+
+PORTNAME= gb2jis
+PORTVERSION= 1.5
+CATEGORIES= chinese
+MASTER_SITES= http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/ftp/program/
+DISTFILES= gb2jis.tar.Z
+
+MAINTAINER= jo-c@is.aist-nara.ac.jp
+
+WRKSRC= ${WRKDIR}/gb2jis
+ALL_TARGET=
+
+MAN1= gb2jis.1
+MANCOMPRESSED= yes
+
+post-install:
+# install manual
+ @${GZIP_CMD} ${PREFIX}/man/man1/gb2jis.1
+
+.include <bsd.port.mk>
diff --git a/chinese/gb2jis/distinfo b/chinese/gb2jis/distinfo
new file mode 100644
index 000000000000..890b1b26517a
--- /dev/null
+++ b/chinese/gb2jis/distinfo
@@ -0,0 +1 @@
+MD5 (gb2jis.tar.Z) = c3fc65ea54e9ab85a34d4db54c2e5bbe
diff --git a/chinese/gb2jis/files/patch-aa b/chinese/gb2jis/files/patch-aa
new file mode 100644
index 000000000000..8e7f37f74f2c
--- /dev/null
+++ b/chinese/gb2jis/files/patch-aa
@@ -0,0 +1,12 @@
+*** Makefile.orig Sat Sep 16 14:28:25 2000
+--- Makefile Sat Sep 16 14:28:48 2000
+***************
+*** 24,29 ****
+--- 24,30 ----
+ install: gb2jis gb2jis.1
+ cp gb2jis /usr/local/bin/gb2jis
+ cp gb2jis.1 /usr/local/man/man1/gb2jis.1
++ cp gb2jis.el /usr/local/share/emacs/site-lisp/gb2jis.el
+ # nroff -man gb2jis.1 > /usr/local/catman/C/u_man/cat1/gb2jis.1
+
+ clean:
diff --git a/chinese/gb2jis/pkg-comment b/chinese/gb2jis/pkg-comment
new file mode 100644
index 000000000000..7474b3c0dea7
--- /dev/null
+++ b/chinese/gb2jis/pkg-comment
@@ -0,0 +1 @@
+Convert GuoBiao Hanzi to JIS Kanji
diff --git a/chinese/gb2jis/pkg-descr b/chinese/gb2jis/pkg-descr
new file mode 100644
index 000000000000..6e29d3e942b2
--- /dev/null
+++ b/chinese/gb2jis/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+--
+Maintainer: Zhang Shu <jo-c@is.aist-nara.ac.jp>
diff --git a/chinese/gb2jis/pkg-plist b/chinese/gb2jis/pkg-plist
new file mode 100644
index 000000000000..1f114aeacdf3
--- /dev/null
+++ b/chinese/gb2jis/pkg-plist
@@ -0,0 +1,2 @@
+bin/gb2jis
+share/emacs/site-lisp/gb2jis.el