161e9aa292
the dependencies on aspell and hunspell); added a MESSAGE file mentioning the need for dictionaries.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: options.mk,v 1.4 2008/10/13 20:18:15 smb 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 ispell
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= aspell
|
|
.if !empty(PKG_OPTIONS:Maspell)
|
|
CONFIGURE_ARGS+= --enable-aspell
|
|
.include "../../textproc/aspell/buildlink3.mk"
|
|
PLIST.aspell= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-aspell
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Menchant-zemberek)
|
|
CONFIGURE_ARGS+= --enable-zemberek
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-zemberek
|
|
.endif
|
|
|
|
PLIST_VARS+= hunspell
|
|
.if !empty(PKG_OPTIONS:Mhunspell)
|
|
CONFIGURE_ARGS+= --enable-myspell
|
|
.include "../../textproc/hunspell/buildlink3.mk"
|
|
PLIST.hunspell= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-myspell
|
|
.endif
|
|
|
|
PLIST_VARS+= ispell
|
|
.if !empty(PKG_OPTIONS:Mispell)
|
|
CONFIGURE_ARGS+= --enable-ispell
|
|
PLIST.ispell= yes
|
|
DEPENDS+= ispell-base>=3.3.02:../../textproc/ispell-base
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ispell
|
|
.endif
|