aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-02-15 16:16:42 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-02-15 16:26:55 +0000
commit611a018bb4b6d81b97598f948a06192898359471 (patch)
tree7de9076a671b56ceb8e7d4931d19d8ed29eea20a
parent305df5e19d626350fa28ba7b090cdebf20655a0b (diff)
downloadports-611a018bb4b6d81b97598f948a06192898359471.tar.gz
ports-611a018bb4b6d81b97598f948a06192898359471.zip
textproc/enchant2: expose Nuspell support
-rw-r--r--textproc/enchant2/Makefile7
-rw-r--r--textproc/enchant2/pkg-plist2
2 files changed, 8 insertions, 1 deletions
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