pkgsrc/textproc/hunspell/Makefile
wiz b1e93b42f7 Update to 1.2.2.
pkgsrc change:
buildlink3.mk:
Bump API_DEPENDS, since shlib name changed.  No dependencies in pkgsrc.

Release notes:
2008-04-12: Hunspell 1.2.2 release:
  - extended dictionary (dic file) support to use multiple base and
    special dictionaries.

  - new and improved options of command line hunspell:
    -m: morphological analysis or flag debug mode (without affix
        rule data it signs the flag of the affix rules)
    -s: stemming mode
    -D: list available dictionaries and search path
    -d: support extra dictionaries by comma separated list. Example:

    hunspell -d en_US,en_med,de_DE,de_med,de_geo UNESCO.txt

    - forbidding in personal dictionary (with asterisk, / signs affixation)

  - optional compressed dictionary format "hzip" for aff and dic files
    usage:
    hzip example.aff example.dic
    mv example.aff example.dic /tmp
    hunspell -d example
    hunzip example.aff.hz >example.aff
    hunzip example.dic.hz >example.dic

  - new affix compression tool "affixcompress": compression tool for
    large (millions of words) dictionaries.

  - support encrypted dictionaries for closed OpenOffice.org extensions or
    other commercial programs

  - improved manual

  - bug fixes

2007-11-01: Hunspell 1.2.1 release:
  - new memory efficient condition checking algorithm for affix rules

  - new morphological functions:
    - stem() for stemming
    - analyze() for morphological analysis
    - generate() for morphological generation

  - new demos:
    - analyze: stemming, morphological analysis and generation
    - chmorph: morphological conversion of texts
2008-04-14 09:39:00 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2008/04/14 09:39:00 wiz Exp $
#
DISTNAME= hunspell-1.2.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
MAINTAINER= adam.hoka@gmail.com
HOMEPAGE= http://hunspell.sourceforge.net/
COMMENT= Improved spellchecker
WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]+$//}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --with-ui
PKGCONFIG_OVERRIDE+= hunspell.pc.in
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing default path to dictionaries.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= man/hunspell.1 man/hu/hunspell.1 src/tools/hunspell.cxx
SUBST_SED.paths+= -e 's,/usr/share/hunspell,${PREFIX}/share/hunspell,g'
# Trailing slash important to not change hunspell.cxx
SUBST_SED.paths+= -e 's,/usr/share/myspell/,${PREFIX}/share/hunspell/,g'
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"