summaryrefslogtreecommitdiff
path: root/textproc/hunspell-de/Makefile
blob: 895c449a208df0f564721a9619a1bceebe6cde5c (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.10 2012/10/03 21:57:48 wiz Exp $
#

DISTNAME=	igerman98-20120607
PKGNAME=	${DISTNAME:S/igerman98/hunspell-de/}
PKGREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://www.j3e.de/ispell/igerman98/dict/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.j3e.de/ispell/igerman98/
COMMENT=	German dictionaries for hunspell
LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_DEPENDS+=	ispell-base>=3.1.20nb1:../../textproc/ispell-base
DEPENDS+=	hunspell>=1.1.5:../../textproc/hunspell

USE_LANGUAGES=	# none

BUILD_TARGET=   hunspell-all
USE_TOOLS+=     gmake perl sed
REPLACE_PERL=   bin/clear_affix.pl bin/dic2iso.pl bin/grepl bin/lcfirst.pl \
		bin/sq.pl bin/uniqflag.pl bin/unsq.pl bin/extractlines.pl \
		bin/hunspell-optimize-roothelper.pl bin/myspellfixprefix.pl

SUBST_CLASSES+=		sed
SUBST_FILES.sed=	bin/clear_affix bin/dic2iso bin/iso2dic bin/iso2tex \
			bin/tex2iso bin/conv_dict_de_CH
SUBST_SED.sed=		-e "s,/bin/sed,${SED},"
SUBST_STAGE.sed=	pre-build
SUBST_MESSAGE.sed=	Fixing path to sed.

INSTALLATION_DIRS=	share/hunspell

do-install:
	${INSTALL_DATA} ${WRKSRC}/hunspell/de*aff ${DESTDIR}${PREFIX}/share/hunspell
	${INSTALL_DATA} ${WRKSRC}/hunspell/de*dic ${DESTDIR}${PREFIX}/share/hunspell

.include "../../mk/bsd.pkg.mk"