summaryrefslogtreecommitdiff
path: root/converters/nkf
diff options
context:
space:
mode:
authorobache <obache>2008-01-13 13:13:42 +0000
committerobache <obache>2008-01-13 13:13:42 +0000
commit0c533a8ef06710c0b1b7765b85b42ba73384d15d (patch)
treea017566f118b51cf2d52db8643638f8c30376c97 /converters/nkf
parentbd4e9a421e28884e98289a280db1009fd60177f9 (diff)
downloadpkgsrc-0c533a8ef06710c0b1b7765b85b42ba73384d15d.tar.gz
Update nkf to 2.08b aka 2.0.8b.
pkgsrc changes: add DESTDIR support Changes 2.0.6 == Addition of --ic --oc option --Ic=<input codeset> --oc=<output codeset> option was added. Shift_JIS, CP932, EUC-JP, CP51932, eucJP-ms, ISO-2022-JP, UTF-8N(UTF-8), UTF-8-BOM, UTF-16BE, UTF-16BE-BOM(UTF-16), UTF-16LE, and UTF-16LE-BOM. UTF8-MAC can be specified for input. == Addition and change in mapping The character-code of JIS-affiliated and correspondence with Unicode decided to be defined. Decode from these to Unicode secures the thing that conversion in the defined range is correctly done. Conversion in the range not defined is not secured. Encode from Unicode secures the thing that conversion in the defined range is correctly done, conversion in the range not defined is assumed to be an error, (possible fallback), and Unicode, and an illegal character secures the skipped thing. == Addition of fallback option The --fb-{skip,html,xml,perl,java,subchar} option was added. How the character that was not able to be converted is treated when converting it from Unicode into Shift_JIS, EUC-JP, and ISO-2022-JP can be specified. == Addition of --no-best-fit-chars option The character for which the round trip safety is not secured is not converted at conversion from Unicode. - when Unicode is converted from Unicode It is possible to use it to convert the UTF form of nkf when specifying it with x. (If this is not specified if it says oppositely, a part of character is not preserved. ) When the character string related to passing is converted, this option is strongly recommended to be specified. == Addition of --in-place[=SUFFIX] option --in-place option to renew the time stamp to --overwrite that maintained the time stamp was added. == Document of hiragana katakana conversion Because the document of the hiragana katakana conversion had reversed, this was corrected. A correct document is as follows. -H1 --hiragana katakana > hiragana -H2 --katakana hiragana -> katakana -H3 --katakana-hiragana katakana <-> hiragana == Others "Q" decipherment of encoding and the bug such as fold-margin are corrected. == 2.0.6a The permission of the file at the packaging was changed. Changes 2.0.7 * The character of CP51932 corrects not doing fallback. * It is corrected not to compile excluding gcc. * Making to ANSI C. * The bug around changing line of MIME encode is corrected. * The binary file came to be also good at base64 by -t2MB. * Support the conversion of repeating hiragana and katakana sign by -h. * Support the conversion of V of the hiragana and the katakana by -h. * DOS and OS/2 1.x support by lukewarm * OpenWatcom, OS/2, and djgpp V2 support by By lukewarm Changes 2.0.8 * Support of UTF-32 and CP10001(Microsoft's MacJapanese). * It supports outside BMP of Unicode. * The user definition character of the CP932 faction is supported. * The range of the Shift_JIS emoticon of Softbank Mobile is supported with NTT DoCoMo. * The line feed code was displayed with --guess. * It is corrected that the guess when the character-code cannot be fixed with --guess was broken. * It is corrected to have thrown away SI/SO/ESC at the EUC mode. * When the input of UTF-8 is encoded in MIME, it is corrected not to be output correctly. * Processing was continued even if there was a file that was not able to be read when two or more files were given. * Various corrections in CP932 turn In 2.0.8a in addition to above * It is corrected not effective of -L. * It is corrected not to be able to make nkf32.dll.
Diffstat (limited to 'converters/nkf')
-rw-r--r--converters/nkf/Makefile16
-rw-r--r--converters/nkf/distinfo8
2 files changed, 13 insertions, 11 deletions
diff --git a/converters/nkf/Makefile b/converters/nkf/Makefile
index 304178e18e2..b0d8f38ab84 100644
--- a/converters/nkf/Makefile
+++ b/converters/nkf/Makefile
@@ -1,23 +1,25 @@
-# $NetBSD: Makefile,v 1.10 2007/01/08 13:34:12 obache Exp $
+# $NetBSD: Makefile,v 1.11 2008/01/13 13:13:42 obache Exp $
-DISTNAME= nkf205
-PKGNAME= nkf-2.05
+DISTNAME= nkf-2.0.8b
+PKGNAME= nkf-2.08b
CATEGORIES= japanese converters
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=nkf/15302/} \
- http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=nkf/26243/}
MAINTAINER= cjs@NetBSD.org
HOMEPAGE= http://sourceforge.jp/projects/nkf/
COMMENT= Convert between various Japanese character encodings
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/nkf-2.0.8
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
BUILD_TARGET= nkf
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nkf ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/nkf.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/nkf ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nkf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/nkf/distinfo b/converters/nkf/distinfo
index da026b9b453..a39ab7b396e 100644
--- a/converters/nkf/distinfo
+++ b/converters/nkf/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/06/25 03:23:03 taca Exp $
+$NetBSD: distinfo,v 1.5 2008/01/13 13:13:42 obache Exp $
-SHA1 (nkf205.tar.gz) = 78f1321d0dec16dd9bb6f046a349aadc86c027b4
-RMD160 (nkf205.tar.gz) = 55d48e281f6491c299897c3f22c3f0a2b2a13b16
-Size (nkf205.tar.gz) = 149809 bytes
+SHA1 (nkf-2.0.8b.tar.gz) = 9587e427173b6c0420284afef19b18b3f905fbaa
+RMD160 (nkf-2.0.8b.tar.gz) = 952698a09f8e28b6385a7b41301e95dc237aa893
+Size (nkf-2.0.8b.tar.gz) = 152883 bytes