summaryrefslogtreecommitdiff
path: root/textproc/enchant
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2009-10-12 19:56:04 +0000
committerahoka <ahoka@pkgsrc.org>2009-10-12 19:56:04 +0000
commit98b41ffc6894e382e15c7feca33671a78fe43f3c (patch)
treec79bdc31d658544d9f7c19cdfdec08e0f86cfb94 /textproc/enchant
parent9b5e09c0566e98ac8ed0b72b874b774f4acec827 (diff)
downloadpkgsrc-98b41ffc6894e382e15c7feca33671a78fe43f3c.tar.gz
Use hunspell only by default and depend on the en_US dictionary.
Diffstat (limited to 'textproc/enchant')
-rw-r--r--textproc/enchant/Makefile3
-rw-r--r--textproc/enchant/options.mk5
2 files changed, 5 insertions, 3 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index a15dbcad866..b9f6f5b92ac 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2009/06/09 13:14:42 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2009/10/12 19:56:04 ahoka Exp $
#
DISTNAME= enchant-1.5.0
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.abisource.com/downloads/enchant/1.5.0/
diff --git a/textproc/enchant/options.mk b/textproc/enchant/options.mk
index 2d489053960..7bedcb3a0b1 100644
--- a/textproc/enchant/options.mk
+++ b/textproc/enchant/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2008/10/13 20:18:15 smb Exp $
+# $NetBSD: options.mk,v 1.5 2009/10/12 19:56:04 ahoka Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.enchant
PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell
@@ -6,7 +6,7 @@ PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell
# hspell - Hebrew spelling
# uspell - Yiddish spelling
# voikko - Finnish spelling
-PKG_SUGGESTED_OPTIONS= hunspell ispell
+PKG_SUGGESTED_OPTIONS= hunspell
.include "../../mk/bsd.options.mk"
@@ -30,6 +30,7 @@ PLIST_VARS+= hunspell
.if !empty(PKG_OPTIONS:Mhunspell)
CONFIGURE_ARGS+= --enable-myspell
.include "../../textproc/hunspell/buildlink3.mk"
+DEPENDS+= hunspell-en_US-[0-9]*:../../textproc/hunspell-en_US
PLIST.hunspell= yes
.else
CONFIGURE_ARGS+= --disable-myspell