summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-03-03 12:38:01 +0000
committerasami <asami@FreeBSD.org>1997-03-03 12:38:01 +0000
commit7867436268fad0fbc74e6379ab803aeb7dea0bde (patch)
tree48d6f62ce4c840259a0db074bc196186f2e24c8b /japanese
parent44ab8f579710ff6d15e56487cfbd564872b3c351 (diff)
downloadFreeBSD-ports-7867436268fad0fbc74e6379ab803aeb7dea0bde.zip
FreeBSD-ports-7867436268fad0fbc74e6379ab803aeb7dea0bde.tar.gz
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>
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 0000000..1c806c6
--- /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 0000000..68031ab
--- /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 0000000..13956b3
--- /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 0000000..3911a3d
--- /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 0000000..d7986b1
--- /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
OpenPOWER on IntegriCloud