summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-03-03 12:38:01 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-03-03 12:38:01 +0000
commit70fccf35f8de41b2216c09735d64ca2719e9267d (patch)
tree93d6a85ac805272d21c44808b5f658e5cb75f8f6 /japanese
parentChange this file to describe what it is, instead of how to write your (diff)
You can repair damaged (dropped Esc's etc.) Japanese files easily using
these programs. Closes PR ports/2723. Submitted by: Yukihiro Nakai <nakai@PyroPolis.t.u-tokyo.ac.jp>
Notes
Notes: svn path=/head/; revision=5813
Diffstat (limited to 'japanese')
-rw-r--r--japanese/recjis/Makefile26
-rw-r--r--japanese/recjis/distinfo1
-rw-r--r--japanese/recjis/pkg-comment1
-rw-r--r--japanese/recjis/pkg-descr24
-rw-r--r--japanese/recjis/pkg-plist6
5 files changed, 58 insertions, 0 deletions
diff --git a/japanese/recjis/Makefile b/japanese/recjis/Makefile
new file mode 100644
index 000000000000..1c806c6cd735
--- /dev/null
+++ b/japanese/recjis/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: recjis
+# Version required: 1.0
+# Date created: 05 February 1997
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= recjis-1.0
+PKGNAME= jp-recjis-1.0
+CATEGORIES+= japanese
+MASTER_SITES= ftp://ftp.leo.chubu.ac.jp/pub/tools/
+DISTFILES= recjis.tar.gz
+
+MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
+
+NO_WRKSUBDIR= yes
+ALL_TARGET= prog
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/*jis ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/lib/recjis
+ ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 777 \
+ ${WRKSRC}/*_tbl ${PREFIX}/lib/recjis
+
+.include <bsd.port.mk>
diff --git a/japanese/recjis/distinfo b/japanese/recjis/distinfo
new file mode 100644
index 000000000000..68031abd2739
--- /dev/null
+++ b/japanese/recjis/distinfo
@@ -0,0 +1 @@
+MD5 (recjis.tar.gz) = 62d26e07bca07ab1e261fe099bad03af
diff --git a/japanese/recjis/pkg-comment b/japanese/recjis/pkg-comment
new file mode 100644
index 000000000000..13956b3c34b4
--- /dev/null
+++ b/japanese/recjis/pkg-comment
@@ -0,0 +1 @@
+tool for recovery of broken japanese text
diff --git a/japanese/recjis/pkg-descr b/japanese/recjis/pkg-descr
new file mode 100644
index 000000000000..3911a3d9fa7a
--- /dev/null
+++ b/japanese/recjis/pkg-descr
@@ -0,0 +1,24 @@
+Recjis - Recover jis codeing system
+
+Recjis is some programs to repair broken japanese texts such
+as MSB or ESC lost. You cannot recover perfectly with recjis
+but its high repair rate make it useful.
+
+COMMAND:
+ rjis -- recover jis code that lost ESCs
+ rujis -- recover ujis (EUC, DEC without 1 byte kana
+ charactor) files that lost MSBs
+ rsjis -- recover Shift JIS files that lost MSBs
+ dejis -- exclude ESCs and set MSB 0 to destroy
+ japanese texts (it's only for sample :-)
+
+USAGE:
+ r[us]jis input output
+ r[us]jis input > output
+ r[us]jis < input > output
+
+OPTIONS:
+ -h show usage
+ -l study mode - Let rujis or rsjis remake tables.
+ They learn from files with MSBs. No output.
+ -t use user-specify tables
diff --git a/japanese/recjis/pkg-plist b/japanese/recjis/pkg-plist
new file mode 100644
index 000000000000..d7986b1a1698
--- /dev/null
+++ b/japanese/recjis/pkg-plist
@@ -0,0 +1,6 @@
+bin/dejis
+bin/rjis
+bin/rsjis
+bin/rujis
+lib/recjis/sjis_tbl
+lib/recjis/ujis_tbl