diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2022-02-15 16:16:42 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2022-02-15 16:27:56 +0000 |
commit | 7e1d4786cbf463e22ab5d207349ef81afebdeb6c (patch) | |
tree | 3e26e0379f0732baa149f14e917d0e581deb541b | |
parent | 3007c2740aadb0d96e4c580a90f84f3649a82a74 (diff) | |
download | ports-7e1d4786cbf463e22ab5d207349ef81afebdeb6c.tar.gz ports-7e1d4786cbf463e22ab5d207349ef81afebdeb6c.zip |
textproc/enchant2: expose Nuspell support
(cherry picked from commit 611a018bb4b6d81b97598f948a06192898359471)
-rw-r--r-- | textproc/enchant2/Makefile | 7 | ||||
-rw-r--r-- | textproc/enchant2/pkg-plist | 2 |
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 |