diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-02-08 18:25:40 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-02-08 18:25:40 +0000 |
commit | fc95d33f52725aa3f25b6cf78ce5d0cabcc24e9c (patch) | |
tree | 64ad3bb190464667ea5bc0cb167c37c782f8ffc4 | |
parent | ab8db7dc9ced236aac4812cb947e2165fd471062 (diff) | |
download | pkgsrc-fc95d33f52725aa3f25b6cf78ce5d0cabcc24e9c.tar.gz |
Update to 1.2.8.
No longer needs ncurses (at least on NetBSD 5.0).
Official changelog:
2008-11-01: Hunspell 1.2.8 release:
- Default BREAK feature and better hyphenated word suggestion to accept
and fix (compound) words with hyphen characters by spell checker
instead of by work breaking code of OpenOffice.org. With this feature
it's possible to accept hyphenated compound words, such as "scot-free",
where "scot" is not a correct English word.
- ICONV & OCONV: input and output conversion tables for optional character
handling or using special inner format. Example:
# Accepting de facto replacements of the Romanian comma acuted letters
SET UTF-8
ICONV 4
ICONV Å È
ICONV Å£ È
ICONV Å È
ICONV Å¢ È
Typical usage of ICONV/OCONV is to manage an inner format for a segmental
writing system, like the Ethiopic script of the Amharic language.
- Extended CHECKCOMPOUNDPATTERN to handle conpound word alternations, like
sandhi feature of Telugu and other writing systems.
- SIMPLIFIEDTRIPLE compound word feature: allow simplified Swedish and
Norwegian compound word forms, like tillåta (till|låta) and
bussjåfør (buss|sjåfør)
- wordforms: word generator script for dictionary developers (Hunspell
version of unmunch).
- bug fixes
2008-08-15: Hunspell 1.2.7 release:
- FULLSTRIP: new option for affix handling. With FULLSTRIP, affix rules can
strip full words, not only one less characters.
- COMPOUNDRULE works with all flag types. (COMPOUNDRULE is for pattern
matching. For example, en_US dictionary of OpenOffice.org uses COMPOUNDRULE
for ordinal number recognition: 1st, 2nd, 11th, 12th, 22nd, 112th, 1000122nd
etc.).
- optimized suggestions:
- modified 1-character distance suggestion algorithms: search a TRY character
in all position instead of all TRY characters in a character position
(it can give more readable suggestion order, also better suggestions
in the first positions, when TRY characters are sorted by frequency.)
For example, suggestions for "moze":
ooze, doze, Roze, maze, more etc. (Hunspell 1.2.6),
maze, more, mote, ooze, mole etc. (Hunspell 1.2.7).
- extended compound word checking for better COMPOUNDRULE related
suggestions, for example English ordinal numbers: 121323th -> 121323rd
(it needs also a th->rd REP definition).
- bug fixes
2008-07-15: Hunspell 1.2.6 release:
- bug fix release (fix affix rule condition checking of sk_SK dictionary,
iconv support in stemming and morphological analysis of the Hunspell
utility, see also Changelog)
2008-07-09: Hunspell 1.2.5 release:
- bug fix release (fix affix rule condition checking of en_GB dictionary,
also morphological analysis by dictionaries with two-level suffixes)
2008-06-18: Hunspell 1.2.4-2 release:
- fix GCC compiler warnings
2008-06-17: Hunspell 1.2.4 release:
- add free_list() for C, C++ interfaces to deallocate suggestion lists
- bug fixes
2008-06-17: Hunspell 1.2.3 release:
- extended XML interface to use morphological functions by standard
spell checking interface, spell() and suggest(). See hunspell.3 manual page.
- default dash suggestions for compound words: newword-> new word and new-word
- new manual pages: hunspell.3, hzip.1, hunzip.1.
- bug fixes
-rw-r--r-- | textproc/hunspell/Makefile | 4 | ||||
-rw-r--r-- | textproc/hunspell/PLIST | 6 | ||||
-rw-r--r-- | textproc/hunspell/distinfo | 8 | ||||
-rw-r--r-- | textproc/hunspell/options.mk | 16 |
4 files changed, 23 insertions, 11 deletions
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile index 0a86a021238..b42cd3dcb3d 100644 --- a/textproc/hunspell/Makefile +++ b/textproc/hunspell/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2008/07/20 23:54:06 abs Exp $ +# $NetBSD: Makefile,v 1.10 2009/02/08 18:25:40 ahoka Exp $ # -DISTNAME= hunspell-1.2.2 +DISTNAME= hunspell-1.2.8 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/} diff --git a/textproc/hunspell/PLIST b/textproc/hunspell/PLIST index 2f76b688301..1580e0f901d 100644 --- a/textproc/hunspell/PLIST +++ b/textproc/hunspell/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2008/04/14 09:39:00 wiz Exp $ +@comment $NetBSD: PLIST,v 1.3 2009/02/08 18:25:40 ahoka Exp $ bin/analyze bin/chmorph bin/example @@ -21,6 +21,7 @@ include/hunspell/hunspell.hxx include/hunspell/hunzip.hxx include/hunspell/langnum.hxx include/hunspell/phonet.hxx +include/hunspell/replist.hxx include/hunspell/suggestmgr.hxx include/hunspell/w_char.hxx include/munch.h @@ -31,6 +32,9 @@ lib/pkgconfig/hunspell.pc man/hu/man1/hunspell.1 man/hu/man4/hunspell.4 man/man1/hunspell.1 +man/man1/hunzip.1 +man/man1/hzip.1 +man/man3/hunspell.3 man/man4/hunspell.4 share/locale/hu/LC_MESSAGES/hunspell.mo @dirrm man/hu/man4 diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo index b3dacc43ad5..fa509b10350 100644 --- a/textproc/hunspell/distinfo +++ b/textproc/hunspell/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2009/01/26 20:09:48 sketch Exp $ +$NetBSD: distinfo,v 1.4 2009/02/08 18:25:40 ahoka Exp $ -SHA1 (hunspell-1.2.2.tar.gz) = 521063ff64b2182e92e92f5355ae2cf396f39420 -RMD160 (hunspell-1.2.2.tar.gz) = 110c428f2b6734afefb8865dc3d63a4492594552 -Size (hunspell-1.2.2.tar.gz) = 752046 bytes +SHA1 (hunspell-1.2.8.tar.gz) = eaa76f82fcf08678e49f7a30afdaa268bcc75235 +RMD160 (hunspell-1.2.8.tar.gz) = e4fd39e5fadf96da1311f2aa7163ec17eacf0f83 +Size (hunspell-1.2.8.tar.gz) = 784360 bytes SHA1 (patch-aa) = 47dbec62c0ffe972275cc7e554a35d8acdbf495a SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0 diff --git a/textproc/hunspell/options.mk b/textproc/hunspell/options.mk index f5ea334d99a..88b30ec76be 100644 --- a/textproc/hunspell/options.mk +++ b/textproc/hunspell/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2008/02/22 17:04:34 jlam Exp $ +# $NetBSD: options.mk,v 1.3 2009/02/08 18:25:40 ahoka Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell PKG_SUPPORTED_OPTIONS= wide-curses @@ -9,8 +9,16 @@ PKG_LEGACY_OPTS+= ncursesw:wide-curses USE_NCURSES= yes -.if !empty(PKG_OPTIONS:Mwide-curses) -. include "../../devel/ncursesw/buildlink3.mk" +### +### Wide curses support; otherwise, default to using narrow curses. +### +.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-*) + CONFIGURE_ENV+= ac_cv_lib_curses_tparm=yes +. include "../../mk/curses.buildlink3.mk" .else -. include "../../devel/ncurses/buildlink3.mk" +. if !empty(PKG_OPTIONS:Mwide-curses) +. include "../../devel/ncursesw/buildlink3.mk" +. else +. include "../../devel/ncurses/buildlink3.mk" +. endif .endif |