726fe6fc8f
(in addtion to backported patches, dropped prototype patch of kakasi_do(). Its committer doesn't know the reason anymore, and implemented part patches had been merged long time ago with "patch-aa and patch-ac patched the same file. Merge them" but patch-aa was for lib/libkakasi.c, and patch-ac is for src/kakasi.c. From no problem reportes, it is considered this patch set is not relevant). Changes from KAKASI 2.3.5 to 2.3.6 * Check runtime environment for test codes, and skip impossible tests. * With configure, check compiler supported option. (for the issue old gcc cannot accept -Wno-unused-result option) * Fixed to check iconv availability at configure instead of autconf. * Fixed and added manual (by Osamu Aoki). * Fixed a bug to ouput redundant delimiter at wakatigaki if the line start with ASCII character. * Changed unitptr_t from macro to typedef (to avoid the issue that come compilers cannot handle such macro) * Fixed missing iconv related casts. Changes from KAKASI 2.3.4 to 2.3.5 * Added UTF-8 input/output support (iconv is required) * Improve handling of japanese long-vowel. * Fixed bug of do_kakasi(), may return invald memory area. * Fixed a wrong entriy in kakasidict. * Fixed bad hepburn romaji table. * Added use_old_romaji_table variable and -t option. * Fixed segfault on invalid SS2 sequences. * Fixes warnings at compile. * Added a test script. * Added -S option for mutable separator (with -w or -s option). * Added -l and -L option for level furigana and hiragana conversion. (See doc/README.level for more information) * Newly added -F option for mutable parentheses around furigana (with -JH -f or -L option). * Added -y option to display all yomi per one Kanji. * Add endian independent dictionary format support. * Fixed bad hepburn romaji table. (specify -t option fo use old romaji table)
24 lines
617 B
Makefile
24 lines
617 B
Makefile
# $NetBSD: Makefile,v 1.22 2014/06/06 12:09:47 obache Exp $
|
|
|
|
DISTNAME= kakasi-2.3.6
|
|
CATEGORIES= japanese textproc
|
|
MASTER_SITES= http://kakasi.namazu.org/stable/
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
HOMEPAGE= http://kakasi.namazu.org/
|
|
COMMENT= Kanji-Kana Simple Inverter, language filter for Japanese
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= gmake
|
|
USE_LIBTOOL= YES
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/ja_JP.EUC/man1
|
|
|
|
TEST_TARGET= check
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/man/kakasi.1.ja ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1/kakasi.1
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|