update Sun May 2 06:37:03 PDT 2010
[pkgsrc.git] / textproc / enchant / Makefile
1 # $NetBSD: Makefile,v 1.31 2010/05/02 10:59:23 wiz Exp $
2 #
3
4 DISTNAME=               enchant-1.6.0
5 CATEGORIES=             textproc
6 MASTER_SITES=           http://www.abisource.com/downloads/enchant/1.6.0/
7
8 MAINTAINER=             pkgsrc-users@NetBSD.org
9 HOMEPAGE=               http://www.abisource.com/projects/enchant/
10 COMMENT=                Generic spell checking library
11 LICENSE=                gnu-lgpl-v2.1
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 USE_TOOLS+=             pkg-config autoconf
16 USE_LANGUAGES=          c c++
17 USE_PKGLOCALEDIR=       yes
18 USE_LIBTOOL=            yes
19 PKGCONFIG_OVERRIDE+=    enchant.pc.in
20 GNU_CONFIGURE=          yes
21 CFLAGS.SunOS+=          -D__EXTENSIONS__
22
23 CONFIGURE_ARGS+=        --with-myspell-dir=${BUILDLINK_PREFIX.hunspell}/share/hunspell
24
25 .include "options.mk"
26
27 .include "../../devel/glib2/buildlink3.mk"
28 .include "../../mk/bsd.pkg.mk"