aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-07 13:19:27 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-07 13:19:27 +0000
commit7024947efaca9ca964b67290ca8f62df55f1a291 (patch)
tree62e8108f173788b2c0b13768b6a008e5e7a75cab /converters
parent38203d8bfc3b044d98a1ac3cccf8711927860724 (diff)
downloadports-7024947efaca9ca964b67290ca8f62df55f1a291.tar.gz
ports-7024947efaca9ca964b67290ca8f62df55f1a291.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/gb2jis/Makefile24
-rw-r--r--converters/gb2jis/distinfo1
-rw-r--r--converters/gb2jis/files/patch-Makefile14
-rw-r--r--converters/gb2jis/pkg-comment1
-rw-r--r--converters/gb2jis/pkg-descr4
-rw-r--r--converters/gb2jis/pkg-plist2
7 files changed, 47 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index d29de15ef8fd..a8dc1738c11c 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -7,6 +7,7 @@
SUBDIR += cn2jp
SUBDIR += dumpasn1
SUBDIR += fconv
+ SUBDIR += gb2jis
SUBDIR += i18ntools
SUBDIR += iconv
SUBDIR += iconv-extra
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 <bsd.port.mk>
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