| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.3 2008/04/17 21:07:18 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.4 2008/10/13 20:18:15 smb Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.enchant | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.enchant |
4 | PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell | | 4 | PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell |
5 | # Package also supports the following: | | 5 | # Package also supports the following: |
6 | # hspell - Hebrew spelling | | 6 | # hspell - Hebrew spelling |
7 | # uspell - Yiddish spelling | | 7 | # uspell - Yiddish spelling |
8 | # voikko - Finnish spelling | | 8 | # voikko - Finnish spelling |
9 | PKG_SUGGESTED_OPTIONS= hunspell ispell | | 9 | PKG_SUGGESTED_OPTIONS= hunspell ispell |
10 | | | 10 | |
11 | .include "../../mk/bsd.options.mk" | | 11 | .include "../../mk/bsd.options.mk" |
12 | | | 12 | |
13 | PLIST_VARS+= aspell | | 13 | PLIST_VARS+= aspell |
14 | .if !empty(PKG_OPTIONS:Maspell) | | 14 | .if !empty(PKG_OPTIONS:Maspell) |
| @@ -29,16 +29,17 @@ CONFIGURE_ARGS+= --disable-zemberek | | | @@ -29,16 +29,17 @@ CONFIGURE_ARGS+= --disable-zemberek |
29 | PLIST_VARS+= hunspell | | 29 | PLIST_VARS+= hunspell |
30 | .if !empty(PKG_OPTIONS:Mhunspell) | | 30 | .if !empty(PKG_OPTIONS:Mhunspell) |
31 | CONFIGURE_ARGS+= --enable-myspell | | 31 | CONFIGURE_ARGS+= --enable-myspell |
32 | .include "../../textproc/hunspell/buildlink3.mk" | | 32 | .include "../../textproc/hunspell/buildlink3.mk" |
33 | PLIST.hunspell= yes | | 33 | PLIST.hunspell= yes |
34 | .else | | 34 | .else |
35 | CONFIGURE_ARGS+= --disable-myspell | | 35 | CONFIGURE_ARGS+= --disable-myspell |
36 | .endif | | 36 | .endif |
37 | | | 37 | |
38 | PLIST_VARS+= ispell | | 38 | PLIST_VARS+= ispell |
39 | .if !empty(PKG_OPTIONS:Mispell) | | 39 | .if !empty(PKG_OPTIONS:Mispell) |
40 | CONFIGURE_ARGS+= --enable-ispell | | 40 | CONFIGURE_ARGS+= --enable-ispell |
41 | PLIST.ispell= yes | | 41 | PLIST.ispell= yes |
| | | 42 | DEPENDS+= ispell-base>=3.3.02:../../textproc/ispell-base |
42 | .else | | 43 | .else |
43 | CONFIGURE_ARGS+= --disable-ispell | | 44 | CONFIGURE_ARGS+= --disable-ispell |
44 | .endif | | 45 | .endif |