summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/enchant/Makefile12
-rw-r--r--textproc/enchant/options.mk6
2 files changed, 12 insertions, 6 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index 46880e72c72..f032f16d9dc 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2018/11/16 13:02:46 bsiegert Exp $
+# $NetBSD: Makefile,v 1.41 2018/11/22 14:56:07 nia Exp $
#
DISTNAME= enchant-1.6.0
@@ -23,6 +23,16 @@ INSTALLATION_DIRS+= share/examples
MAKE_DIRS+= ${PREFIX}/share/enchant
CONF_FILES= ${PREFIX}/share/examples/enchant-1.ordering ${PREFIX}/share/enchant/enchant.ordering
+# Unsupported in pkgsrc:
+# hspell - Hebrew spelling
+# uspell - Yiddish spelling
+# voikko - Finnish spelling
+#
+# hunspell or aspell can be used for these languages.
+CONFIGURE_ARGS+= --disable-hspell
+CONFIGURE_ARGS+= --disable-uspell
+CONFIGURE_ARGS+= --disable-voikko
+
post-install:
cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant-1.ordering
diff --git a/textproc/enchant/options.mk b/textproc/enchant/options.mk
index 79833a9c739..d2f9cebb4f9 100644
--- a/textproc/enchant/options.mk
+++ b/textproc/enchant/options.mk
@@ -1,11 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2018/10/26 17:03:27 bsiegert Exp $
+# $NetBSD: options.mk,v 1.7 2018/11/22 14:56:07 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.enchant
PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell
-# Package also supports the following:
-# hspell - Hebrew spelling
-# uspell - Yiddish spelling
-# voikko - Finnish spelling
PKG_SUGGESTED_OPTIONS= hunspell
.include "../../mk/bsd.options.mk"