summaryrefslogtreecommitdiff
path: root/textproc/enchant/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-04-14 11:35:49 +0000
committerwiz <wiz@pkgsrc.org>2008-04-14 11:35:49 +0000
commit48ed320b563fb6ef4baaa1d8c4c51bbe64ed8421 (patch)
tree866c4e04660cf6b71b784681a6f549421bec8e92 /textproc/enchant/options.mk
parentf3dab8821331e6511b62f2b03c140cee505f14c6 (diff)
downloadpkgsrc-48ed320b563fb6ef4baaa1d8c4c51bbe64ed8421.tar.gz
Update to 1.4.0.
Change default backend to hunspell. aspell support is now a (disabled by default) option. Add some other options. Remove aspell from includes in buildlink3.mk. The backends are abstracted into dynamically loaded modules and don't need to be pulled in by buildlink3.mk. Release notes: Voikko (Finnish) language support. Zemberek (Turkish) language support. Better support for Unicode in the personal dictionaries. Personal dictionaries offer better suggestions. OpenOffice's dictionaries are used on Windows. Aspell works on Windows. This release can use a system-wide Hunspell/Myspell installation on Unix-like platforms. Hunspell 1.2.1 and NET bindings are required. This release has more lax language matching rules. It uses XDG's data-dirs spec for locating dictionaries. There are many unit tests and bugfixes.
Diffstat (limited to 'textproc/enchant/options.mk')
-rw-r--r--textproc/enchant/options.mk44
1 files changed, 44 insertions, 0 deletions
diff --git a/textproc/enchant/options.mk b/textproc/enchant/options.mk
new file mode 100644
index 00000000000..7b990be4f51
--- /dev/null
+++ b/textproc/enchant/options.mk
@@ -0,0 +1,44 @@
+# $NetBSD: options.mk,v 1.1 2008/04/14 11:35:50 wiz 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
+.else
+CONFIGURE_ARGS+= --disable-ispell
+.endif