blob: 4973c076d332eb8678f4493db983b8b6703eaeab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.43 2020/03/08 16:48:13 wiz Exp $
#
DISTNAME= enchant-1.6.0
PKGREVISION= 9
CATEGORIES= textproc
MASTER_SITES= http://www.abisource.com/downloads/enchant/1.6.0/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.abisource.com/projects/enchant/
COMMENT= Generic spell checking library
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= pkg-config autoconf
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= enchant.pc.in
GNU_CONFIGURE= yes
CFLAGS.SunOS+= -D__EXTENSIONS__
INSTALLATION_DIRS+= share/examples
MAKE_DIRS+= ${PREFIX}/share/enchant
CONF_FILES= ${PREFIX}/share/examples/enchant-1.ordering ${PREFIX}/share/enchant/enchant.ordering
# Unsupported in pkgsrc:
# hspell - Hebrew spelling
# uspell - Yiddish spelling
# voikko - Finnish spelling
#
# hunspell or aspell can be used for these languages.
CONFIGURE_ARGS+= --disable-hspell
CONFIGURE_ARGS+= --disable-uspell
CONFIGURE_ARGS+= --disable-voikko
post-install:
cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant-1.ordering
.include "options.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|