summaryrefslogtreecommitdiff
path: root/textproc/hunspell/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-09-11 17:40:29 +0000
committerwiz <wiz@pkgsrc.org>2007-09-11 17:40:29 +0000
commiteb547e1e0d95c732730706bc8bbb6cb6a718a344 (patch)
tree55e7227473219b5f2b73edc9a4e41697d705b366 /textproc/hunspell/options.mk
parent53cd0e7b251c00aa069006827e08084ab191100e (diff)
downloadpkgsrc-eb547e1e0d95c732730706bc8bbb6cb6a718a344.tar.gz
Initial import of hunspell-1.12.2, packaged for pkgsrc-wip by Adam Hoka,
updated to latest version by me: Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird. Main features: * Unicode support. * Conditional and multiple affixes for languages with rich morphology. * Extended compound word support. * Morphological analysis (in custom item and arrangement style). * Hunspell is based on MySpell and works also with MySpell dictionaries. * GPL/LGPL/MPL tri-license
Diffstat (limited to 'textproc/hunspell/options.mk')
-rw-r--r--textproc/hunspell/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/textproc/hunspell/options.mk b/textproc/hunspell/options.mk
new file mode 100644
index 00000000000..302e32f2ce7
--- /dev/null
+++ b/textproc/hunspell/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell
+PKG_OPTIONS_REQUIRED_GROUPS= display
+PKG_OPTIONS_GROUP.display= ncurses ncursesw
+PKG_SUGGESTED_OPTIONS= ncurses
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mncurses)
+USE_NCURSES= yes
+. include "../../devel/ncurses/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mncursesw)
+. include "../../devel/ncursesw/buildlink3.mk"
+.endif