Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2022 16:28:52 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 7e1d4786cbf4 - 2022Q1 - textproc/enchant2: expose Nuspell support
Message-ID:  <202202151628.21FGSqBW099832@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e1d4786cbf463e22ab5d207349ef81afebdeb6c

commit 7e1d4786cbf463e22ab5d207349ef81afebdeb6c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-15 16:16:42 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-15 16:27:56 +0000

    textproc/enchant2: expose Nuspell support
    
    (cherry picked from commit 611a018bb4b6d81b97598f948a06192898359471)
---
 textproc/enchant2/Makefile  | 7 ++++++-
 textproc/enchant2/pkg-plist | 2 ++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/textproc/enchant2/Makefile b/textproc/enchant2/Makefile
index 193e8f97a57f..f999a4f8ce6a 100644
--- a/textproc/enchant2/Makefile
+++ b/textproc/enchant2/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ARGS=	--without-applespell \
 INSTALL_TARGET=	install-strip
 
 OPTIONS_MULTI=	SPELL
-OPTIONS_MULTI_SPELL=ASPELL HSPELL HUNSPELL ZEMBEREK
+OPTIONS_MULTI_SPELL=ASPELL HSPELL HUNSPELL NUSPELL ZEMBEREK
 OPTIONS_DEFAULT=HUNSPELL
 OPTIONS_SUB=	yes
 HSPELL_DESC=	Spell checking via Hspell
@@ -42,6 +42,11 @@ HUNSPELL_LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell
 HUNSPELL_CONFIGURE_WITH=	hunspell
 HUNSPELL_CONFIGURE_ON=	--with-hunspell-dir=${LOCALBASE}/share/hunspell
 
+NUSPELL_LIB_DEPENDS=	libicuuc.so:devel/icu \
+			libnuspell.so:textproc/nuspell
+NUSPELL_CONFIGURE_WITH=	nuspell
+NUSPELL_CONFIGURE_ON=	--with-nuspell-dir=${LOCALBASE}/share/nuspell
+
 ZEMBEREK_LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 			libdbus-glib-1.so:devel/dbus-glib
 ZEMBEREK_CONFIGURE_WITH=	zemberek
diff --git a/textproc/enchant2/pkg-plist b/textproc/enchant2/pkg-plist
index 1871f80407b3..6e2d45b7db3f 100644
--- a/textproc/enchant2/pkg-plist
+++ b/textproc/enchant2/pkg-plist
@@ -9,6 +9,8 @@ include/enchant-2/enchant.h
 %%HSPELL%%lib/enchant-2/enchant_hspell.so
 %%HUNSPELL%%lib/enchant-2/enchant_hunspell.a
 %%HUNSPELL%%lib/enchant-2/enchant_hunspell.so
+%%NUSPELL%%lib/enchant-2/enchant_nuspell.a
+%%NUSPELL%%lib/enchant-2/enchant_nuspell.so
 %%ZEMBEREK%%lib/enchant-2/enchant_zemberek.a
 %%ZEMBEREK%%lib/enchant-2/enchant_zemberek.so
 lib/libenchant-2.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202151628.21FGSqBW099832>