Mon Oct 13 20:18:15 2008 UTC ()
Add a dependency on ispell-base if ispell is enabled (parallel to
the dependencies on aspell and hunspell); added a MESSAGE file mentioning
the need for dictionaries.


(smb)
diff -r1.27 -r1.28 pkgsrc/textproc/enchant/Makefile
diff -r1.3 -r1.4 pkgsrc/textproc/enchant/options.mk

cvs diff -r1.27 -r1.28 pkgsrc/textproc/enchant/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/enchant/Makefile 2008/05/21 09:39:12 1.27
+++ pkgsrc/textproc/enchant/Makefile 2008/10/13 20:18:15 1.28
@@ -1,19 +1,20 @@ @@ -1,19 +1,20 @@
1# $NetBSD: Makefile,v 1.27 2008/05/21 09:39:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.28 2008/10/13 20:18:15 smb Exp $
2# 2#
3 3
4DISTNAME= enchant-1.4.2 4DISTNAME= enchant-1.4.2
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= http://www.abisource.com/downloads/enchant/1.4.2/ 6MASTER_SITES= http://www.abisource.com/downloads/enchant/1.4.2/
 7PKGREVISION= 1
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.abisource.com/projects/enchant/ 10HOMEPAGE= http://www.abisource.com/projects/enchant/
10COMMENT= Generic spell checking library 11COMMENT= Generic spell checking library
11 12
12PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
13 14
14USE_TOOLS+= pkg-config autoconf 15USE_TOOLS+= pkg-config autoconf
15USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++
16USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes
17USE_LIBTOOL= yes 18USE_LIBTOOL= yes
18PKGCONFIG_OVERRIDE+= enchant.pc.in 19PKGCONFIG_OVERRIDE+= enchant.pc.in
19GNU_CONFIGURE= yes 20GNU_CONFIGURE= yes

cvs diff -r1.3 -r1.4 pkgsrc/textproc/enchant/options.mk (expand / switch to unified diff)

--- pkgsrc/textproc/enchant/options.mk 2008/04/17 21:07:18 1.3
+++ pkgsrc/textproc/enchant/options.mk 2008/10/13 20:18:15 1.4
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.enchant 3PKG_OPTIONS_VAR= PKG_OPTIONS.enchant
4PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell 4PKG_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
9PKG_SUGGESTED_OPTIONS= hunspell ispell 9PKG_SUGGESTED_OPTIONS= hunspell ispell
10 10
11.include "../../mk/bsd.options.mk" 11.include "../../mk/bsd.options.mk"
12 12
13PLIST_VARS+= aspell 13PLIST_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
29PLIST_VARS+= hunspell 29PLIST_VARS+= hunspell
30.if !empty(PKG_OPTIONS:Mhunspell) 30.if !empty(PKG_OPTIONS:Mhunspell)
31CONFIGURE_ARGS+= --enable-myspell 31CONFIGURE_ARGS+= --enable-myspell
32.include "../../textproc/hunspell/buildlink3.mk" 32.include "../../textproc/hunspell/buildlink3.mk"
33PLIST.hunspell= yes 33PLIST.hunspell= yes
34.else 34.else
35CONFIGURE_ARGS+= --disable-myspell 35CONFIGURE_ARGS+= --disable-myspell
36.endif 36.endif
37 37
38PLIST_VARS+= ispell 38PLIST_VARS+= ispell
39.if !empty(PKG_OPTIONS:Mispell) 39.if !empty(PKG_OPTIONS:Mispell)
40CONFIGURE_ARGS+= --enable-ispell 40CONFIGURE_ARGS+= --enable-ispell
41PLIST.ispell= yes 41PLIST.ispell= yes
 42DEPENDS+= ispell-base>=3.3.02:../../textproc/ispell-base
42.else 43.else
43CONFIGURE_ARGS+= --disable-ispell 44CONFIGURE_ARGS+= --disable-ispell
44.endif 45.endif