summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-05-10 03:46:12 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-05-10 03:46:12 +0000
commita650ee45a3d6080018261b5ba826e255180dea7c (patch)
treeda057f8988b3e1760572359ca81a2e917067a21b
parent615998b2dda2553621f32dca28f65201706691e2 (diff)
downloadpkgsrc-a650ee45a3d6080018261b5ba826e255180dea7c.tar.gz
Network Kanji code conversion Fileter package by kay@kaynet.or.jp.
-rw-r--r--japanese/nkf/Makefile22
-rw-r--r--japanese/nkf/files/md54
-rw-r--r--japanese/nkf/files/nkf.post-extract19
-rw-r--r--japanese/nkf/pkg/COMMENT1
-rw-r--r--japanese/nkf/pkg/DESCR7
-rw-r--r--japanese/nkf/pkg/PLIST3
6 files changed, 56 insertions, 0 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile
new file mode 100644
index 00000000000..186a9bbbac1
--- /dev/null
+++ b/japanese/nkf/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/10 03:46:12 sakamoto Exp $
+
+DISTNAME= nkf-1.7
+CATEGORIES= japanese converters
+MASTER_SITES= ftp://ftp.win.ne.jp/pub/misc/
+
+PATCH_SITES= http://www.rs.civil.tohoku.ac.jp/~ito/ws/
+PATCHFILES= nkf.patch.txt
+
+MAINTAINER= kay@kaynet.or.jp
+
+ALL_TARGET= nkf
+PATCH_DIST_ARGS+= -R -d ${WRKSRC}
+
+post-extract:
+ @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/nkf.post-extract
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nkf ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nkf.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/nkf/files/md5 b/japanese/nkf/files/md5
new file mode 100644
index 00000000000..46a62951da3
--- /dev/null
+++ b/japanese/nkf/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/10 03:46:12 sakamoto Exp $
+
+MD5 (nkf-1.7.tar.gz) = 153c6917384a7cff635f5eed576dc563
+MD5 (nkf.patch.txt) = c6a465c1f51ac3ea369a6bdc15894179
diff --git a/japanese/nkf/files/nkf.post-extract b/japanese/nkf/files/nkf.post-extract
new file mode 100644
index 00000000000..61df30147cb
--- /dev/null
+++ b/japanese/nkf/files/nkf.post-extract
@@ -0,0 +1,19 @@
+*** nkf.c.bak Sun May 9 17:20:37 1999
+--- nkf.c Sun May 9 17:21:32 1999
+***************
+*** 1483,1489 ****
+
+
+ #ifdef STRICT_MIME
+! /* This converts ^\^\*/
+
+ unsigned char *mime_pattern[] = {
+ (unsigned char *)"\075?ISO-8859-1?Q?",
+--- 1483,1489 ----
+
+
+ #ifdef STRICT_MIME
+! /* This converts */
+
+ unsigned char *mime_pattern[] = {
+ (unsigned char *)"\075?ISO-8859-1?Q?",
diff --git a/japanese/nkf/pkg/COMMENT b/japanese/nkf/pkg/COMMENT
new file mode 100644
index 00000000000..a9062da659b
--- /dev/null
+++ b/japanese/nkf/pkg/COMMENT
@@ -0,0 +1 @@
+Network Kanji code conversion Fileter
diff --git a/japanese/nkf/pkg/DESCR b/japanese/nkf/pkg/DESCR
new file mode 100644
index 00000000000..ffd81368e75
--- /dev/null
+++ b/japanese/nkf/pkg/DESCR
@@ -0,0 +1,7 @@
+Nkf is a yet another kanji code converter among networks, hosts and terminals.
+It converts input kanji code to desig- nated kanji code such as 7-bit
+JIS, MS-kanji (shifted-JIS) or EUC.
+
+One of the most unique facicility of nkf is the guess of the input kanji
+code. It currently recognizes 7-bit JIS, MS- kanji (shifted-JIS) and EUC.
+So users needn't the input kanji code specification.
diff --git a/japanese/nkf/pkg/PLIST b/japanese/nkf/pkg/PLIST
new file mode 100644
index 00000000000..bdcaa3a47fa
--- /dev/null
+++ b/japanese/nkf/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/10 03:46:12 sakamoto Exp $
+bin/nkf
+man/man1/nkf.1