summaryrefslogtreecommitdiff
path: root/textproc/ispell-ca/Makefile
blob: d53f2d0b3f7706f984537a5d14aff08ced7cc964 (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
# $NetBSD: Makefile,v 1.4 2017/09/19 08:25:23 wiz Exp $

DISTNAME=	ispell-sc-ca
PKGNAME=	${DISTNAME:S/-sc//1}-1.0
CATEGORIES=	textproc
#MASTER_SITES=	http://www.softcatala.org/cgi-bin/gaudi/contadorb/load.cgi?/fitxers/linux/
EXTRACT_SUFX=	.zip

MAINTAINER=	jmmv@NetBSD.org
#HOMEPAGE=	https://www.softcatala.org/projectes/myspell/
COMMENT=	Catalan dictionary for interactive spelling checker

CONFLICTS+=	ispell-catalan-[0-9]*
DEPENDS+=	ispell>=3.1.20:../../textproc/ispell

WRKSRC=		${WRKDIR}

INSTALLATION_DIRS=	lib

post-extract:
	( cd ${WRKSRC} 							\
		&& ${MV} catalan_i.dic catala.dic && 			\
		${MV} catalan_i.aff catala.aff )

do-build:
	( cd ${WRKSRC} && 						\
		${PREFIX}/bin/buildhash catala.dic catala.aff 		\
			catala.hash )

do-install:
	${INSTALL_DATA} ${WRKSRC}/catala.aff ${DESTDIR}${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/catala.hash ${DESTDIR}${PREFIX}/lib

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