diff --git a/textproc/nuspell/Makefile b/textproc/nuspell/Makefile index 1039f750ef79..7b30d03d1494 100644 --- a/textproc/nuspell/Makefile +++ b/textproc/nuspell/Makefile @@ -1,33 +1,33 @@ PORTNAME= nuspell DISTVERSIONPREFIX= v DISTVERSION= 5.1.0 CATEGORIES= textproc MAINTAINER= jbeich@FreeBSD.org -COMMENT= Free and open source C++ spell checking library +COMMENT= Fast and safe spellchecking C++ library LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libicuuc.so:devel/icu TEST_DEPENDS= catch>0:devel/catch USES= cmake:testing compiler:c++17-lang USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_OFF+= ${CMAKE_TESTING_ON} post-patch: # Skip README as it only contains install instructions @${REINPLACE_CMD} -i .doc '/README/d' ${WRKSRC}/CMakeLists.txt # Respect PREFIX != /usr/local @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/src/nuspell/finder.cxx makepatch-clean: @${RM} ${WRKSRC}/tests/suggestiontest/Makefile.orig .include # XXX Don't override definition in Mk/bsd.port.mk makepatch: makepatch-clean diff --git a/textproc/nuspell/pkg-descr b/textproc/nuspell/pkg-descr index bbc21dc650a5..8c8c1a49b0d9 100644 --- a/textproc/nuspell/pkg-descr +++ b/textproc/nuspell/pkg-descr @@ -1,18 +1,20 @@ -Nuspell is a free and open source spell checker library and command-line -program designed for languages with rich morphology and complex word -compounding. Nuspell is a pure C++ re-implementation of Hunspell. +Nuspell is a fast and safe spelling checker software program. It is designed +for languages with rich morphology and complex word compounding. +Nuspell is written in modern C++ and it supports Hunspell dictionaries. -Main features of Nuspell spell checker: +Main features of Nuspell spelling checker: - - Full unicode support backed by ICU - - Backward compatibility with Hunspell dictionary file format + - Provides software library and command-line tool. + - Suggests high-quality spelling corrections. + - Backward compatibility with Hunspell dictionary file format. + - Up to 3.5 times faster than Hunspell. + - Full Unicode support backed by ICU. - Twofold affix stripping (for agglutinative languages, like Azeri, - Basque, Estonian, Finnish, Hungarian, Turkish, etc.) - - Support complex compounds (for example, Hungarian, German and Dutch) - - Support language specific features (for example, special casing of - Azeri and Turkish dotted i, or German sharp s) - - Handle conditional affixes, circumfixes, fogemorphemes, forbidden - words, pseudoroots and homonyms. - - Free software. Licensed under GNU LGPL v3 or later. + Basque, Estonian, Finnish, Hungarian, Turkish, etc.). + - Supports complex compounds (for example, Hungarian, German and Dutch). + - Supports advanced features, for example: special casing rules + (Turkish dotted i or German sharp s), conditional affixes, circumfixes, + fogemorphemes, forbidden words, pseudoroots and homonyms. + - Free and open source software. Licensed under GNU LGPL v3 or later. WWW: https://nuspell.github.io/