[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / hunspell-de

File: [cvs.NetBSD.org] / pkgsrc / textproc / hunspell-de / Makefile (download)

Revision 1.21, Wed Aug 16 20:21:15 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.20: +3 -3 lines

Follow some http redirects.

# $NetBSD: Makefile,v 1.21 2017/08/16 20:21:15 wiz Exp $

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

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

BUILD_DEPENDS+=	ispell>=3.1.20nb1:../../textproc/ispell
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"