git: 611a018bb4b6 - main - textproc/enchant2: expose Nuspell support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Feb 2022 16:27:10 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=611a018bb4b6d81b97598f948a06192898359471
commit 611a018bb4b6d81b97598f948a06192898359471
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:26:55 +0000
textproc/enchant2: expose Nuspell support
---
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