svn commit: r492052 - in head/textproc: . nuspell
Jan Beich
jbeich at FreeBSD.org
Sun Feb 3 14:59:56 UTC 2019
Author: jbeich
Date: Sun Feb 3 14:59:54 2019
New Revision: 492052
URL: https://svnweb.freebsd.org/changeset/ports/492052
Log:
textproc/nuspell: add new port
https://fosdem.org/2019/schedule/event/nuspell/
Added:
head/textproc/nuspell/
head/textproc/nuspell/Makefile (contents, props changed)
head/textproc/nuspell/distinfo (contents, props changed)
head/textproc/nuspell/pkg-descr (contents, props changed)
head/textproc/nuspell/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile (contents, props changed)
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Sun Feb 3 14:49:07 2019 (r492051)
+++ head/textproc/Makefile Sun Feb 3 14:59:54 2019 (r492052)
@@ -531,6 +531,7 @@
SUBDIR += nn-aspell
SUBDIR += no-hunspell
SUBDIR += nunnimcax
+ SUBDIR += nuspell
SUBDIR += nux
SUBDIR += ny-aspell
SUBDIR += ocaml-csv
Added: head/textproc/nuspell/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/nuspell/Makefile Sun Feb 3 14:59:54 2019 (r492052)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME= nuspell
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1.0
+CATEGORIES= textproc
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Free and open source C++ spell checking library
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
+
+LIB_DEPENDS= libboost_locale.so:devel/boost-libs \
+ libicuuc.so:devel/icu
+
+USES= autoreconf compiler:c++14-lang gmake libtool pkgconfig
+USE_GITHUB= yes
+GNU_CONFIGURE= yes
+
+OPTIONS_DEFINE= TEST
+
+TEST_BUILD_DEPENDS= catch>0:devel/catch
+TEST_CPPFLAGS= -isystem${LOCALBASE}/include/catch2
+TEST_TEST_TARGET= check
+
+post-patch:
+# Skip README as it only contains install instructions
+ @${REINPLACE_CMD} 's/ README//' ${WRKSRC}/Makefile.am
+# Don't try to download catch2 during build
+ @${REINPLACE_CMD} '/wget/d' ${WRKSRC}/tests/Makefile.am
+
+post-patch-TEST-off:
+ @${REINPLACE_CMD} -i .notest 's/ tests//' ${WRKSRC}/Makefile.am
+
+pre-install-TEST-on: do-test
+
+makepatch-clean:
+ @${RM} ${WRKSRC}/tests/suggestiontest/Makefile.orig
+
+.include <bsd.port.mk>
+
+# XXX Don't override definition in Mk/bsd.port.mk
+makepatch: makepatch-clean
Added: head/textproc/nuspell/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/nuspell/distinfo Sun Feb 3 14:59:54 2019 (r492052)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1546481730
+SHA256 (nuspell-nuspell-v2.1.0_GH0.tar.gz) = 95ff7e803ef36f668de405b2c657efb4af36ddeb10c6267cc9bf126898be4482
+SIZE (nuspell-nuspell-v2.1.0_GH0.tar.gz) = 447400
Added: head/textproc/nuspell/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/nuspell/pkg-descr Sun Feb 3 14:59:54 2019 (r492052)
@@ -0,0 +1,18 @@
+Nuspell is a spell checker library and command-line program designed
+for languages with rich morphology and complex word compounding.
+Nuspell is a pure C++ reimplementation of Hunspell.
+
+Main features of Nuspell spell checker and morphological analyzer:
+
+ - Full unicode support
+ - Max. 65535 affix classes and twofold affix stripping (for
+ agglutinative languages, like Azeri, Basque, Estonian, Finnish,
+ Hungarian, Turkish, etc.)
+ - Support complex compounds (for example, Hungarian and German)
+ - 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. Licenced under GNU LGPL.
+
+WWW: https://nuspell.github.io/
Added: head/textproc/nuspell/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/nuspell/pkg-plist Sun Feb 3 14:59:54 2019 (r492052)
@@ -0,0 +1,10 @@
+bin/nuspell
+include/nuspell/aff_data.hxx
+include/nuspell/dictionary.hxx
+include/nuspell/finder.hxx
+include/nuspell/locale_utils.hxx
+include/nuspell/string_utils.hxx
+include/nuspell/structures.hxx
+lib/libnuspell.a
+libdata/pkgconfig/nuspell.pc
+man/man1/nuspell.1.gz
More information about the svn-ports-head
mailing list