pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/nkf Upgrade to version 2.04. The adds UTF-8...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ede3b89f288
branches:  trunk
changeset: 467056:7ede3b89f288
user:      cjs <cjs%pkgsrc.org@localhost>
date:      Mon Jan 26 05:08:13 2004 +0000

description:
Upgrade to version 2.04. The adds UTF-8 and MIME support.

diffstat:

 converters/nkf/DESCR                  |  14 ++++++--------
 converters/nkf/Makefile               |  22 ++++++++--------------
 converters/nkf/distinfo               |   8 +++-----
 converters/nkf/files/nkf.post-extract |  19 -------------------
 4 files changed, 17 insertions(+), 46 deletions(-)

diffs (87 lines):

diff -r c64618b72f94 -r 7ede3b89f288 converters/nkf/DESCR
--- a/converters/nkf/DESCR      Mon Jan 26 03:34:31 2004 +0000
+++ b/converters/nkf/DESCR      Mon Jan 26 05:08:13 2004 +0000
@@ -1,8 +1,6 @@
-Nkf is a yet another kanji code converter between the different types
-of kanji codes out there.  It can convert between 7-bit JIS, MS-kanji
-(shifted-JIS) or EUC.
-
-One of the most unique facilities of nkf is that it guesses the input
-kanji code. It currently recognizes 7-bit JIS, MS-kanji (shifted-JIS)
-and EUC.  So users don't need to specify (or even know) the input
-kanji code type.
+nkf stands for "Network Kanji Filter," and it's a program used to
+convert between various encodings used for Japanese character sets. It
+handles ISO-2022-JP, Shift_JIS, EUC-JP, UTF-8, and some variants of the
+above (such as the Microsoft version of Shift_JIS). As well, it can do
+a limited amount of MIME decoding. It also can try to guess the input
+encoding so that you don't have to specify it.
diff -r c64618b72f94 -r 7ede3b89f288 converters/nkf/Makefile
--- a/converters/nkf/Makefile   Mon Jan 26 03:34:31 2004 +0000
+++ b/converters/nkf/Makefile   Mon Jan 26 05:08:13 2004 +0000
@@ -1,21 +1,15 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:35 seb Exp $
-
-DISTNAME=      nkf-1.7
-CATEGORIES=    japanese converters
-MASTER_SITES=  ftp://ftp.sra.co.jp/pub/cmd/nkf/
+# $NetBSD: Makefile,v 1.2 2004/01/26 05:08:13 cjs Exp $
 
-PATCH_SITES=   http://www.rs.civil.tohoku.ac.jp/~ito/ws/
-PATCHFILES=    nkf.patch.txt
+DISTNAME=      nkf204
+PKGNAME=       nkf-2.04
+CATEGORIES=    japanese converters
+MASTER_SITES=  http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
 
-MAINTAINER=    kay%kaynet.or.jp@localhost
-COMMENT=       Network Kanji code conversion Filter
+MAINTAINER=    cjs%NetBSD.org@localhost
+HOMEPAGE=      http://www.jazzdisco.org/bsdi/software/nkf/
+COMMENT=       Convert between various Japanese character encodings
 
 ALL_TARGET=    nkf
-PATCH_DIST_ARGS+= -R -d ${WRKSRC}
-
-post-extract:
-       @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/nkf.post-extract
-       @${RM} -rf ${WRKSRC}/NKF
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/nkf ${PREFIX}/bin
diff -r c64618b72f94 -r 7ede3b89f288 converters/nkf/distinfo
--- a/converters/nkf/distinfo   Mon Jan 26 03:34:31 2004 +0000
+++ b/converters/nkf/distinfo   Mon Jan 26 05:08:13 2004 +0000
@@ -1,6 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:00:35 seb Exp $
+$NetBSD: distinfo,v 1.2 2004/01/26 05:08:13 cjs Exp $
 
-SHA1 (nkf-1.7.tar.gz) = 2116864c1acc8e6f80d4c59dc63c73eb37c9e80c
-Size (nkf-1.7.tar.gz) = 28222 bytes
-SHA1 (nkf.patch.txt) = f7b0a640be331a707584ba34d083f5e2361c3969
-Size (nkf.patch.txt) = 3558 bytes
+SHA1 (nkf204.tar.gz) = fec166bdb30ac6d9b7272776b56648ed14fb6eac
+Size (nkf204.tar.gz) = 107085 bytes
diff -r c64618b72f94 -r 7ede3b89f288 converters/nkf/files/nkf.post-extract
--- a/converters/nkf/files/nkf.post-extract     Mon Jan 26 03:34:31 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-*** 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?",



Home | Main Index | Thread Index | Old Index