blob: b42cd3dcb3d6680a78f910e8a93ba76ffb624f11 (
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
|
# $NetBSD: Makefile,v 1.10 2009/02/08 18:25:40 ahoka Exp $
#
DISTNAME= hunspell-1.2.8
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
MAINTAINER= ahoka@NetBSD.org
HOMEPAGE= http://hunspell.sourceforge.net/
COMMENT= Improved spellchecker
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]+$//}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --with-ui
PKGCONFIG_OVERRIDE+= hunspell.pc.in
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing default path to dictionaries.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= man/hunspell.1 man/hu/hunspell.1 src/tools/hunspell.cxx
SUBST_SED.paths+= -e 's,/usr/share/hunspell,${PREFIX}/share/hunspell,g'
# Trailing slash important to not change hunspell.cxx
SUBST_SED.paths+= -e 's,/usr/share/myspell/,${PREFIX}/share/hunspell/,g'
PLIST_SRC= PLIST
PLIST_SUBST+= DISTNAME=${DISTNAME}
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|