summaryrefslogtreecommitdiff
path: root/textproc/ispell-en_GB/Makefile
blob: f072f71f5c0912b4b9c622b3da1c1628c81baac6 (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
# $NetBSD: Makefile,v 1.12 2021/06/10 23:43:26 gutteridge Exp $

.include	"../../textproc/ispell/Makefile.common"

PKGNAME=	${DISTNAME:S/-/-${DICT_LANG}-/1}
CATEGORIES=	textproc
MASTER_SITES=	http://fmg-www.cs.ucla.edu/geoff/tars/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ficus-www.cs.ucla.edu/geoff/ispell.html
COMMENT=	British dictionary for interactive spelling checker

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

WRKSRC=	${WRKDIR}/${DISTNAME}/languages/english

DICT_LANG=	british

INSTALLATION_DIRS=	lib

OPSYSVARS+=	WORDS
WORDS.SunOS=	/usr/dict/words
WORDS.*=	/usr/share/dict/words

do-build:
	cd ${WRKSRC};						\
	${MAKE} CONFIG= MUNCHLIST=${PREFIX}/bin/munchlist VARIANTS=british \
	  EXTRADICT=${WORDS} SHELLDEBUG=+vx AFFIXES=english.aff english.xlg+; \
	${MAKE} CONFIG= BUILDHASH=${PREFIX}/bin/buildhash EXTRADICT=${WORDS} \
	  AFFIXES=english.aff SHELLDEBUG=+vx xlg+.hash

do-install:
	${INSTALL_DATA} ${WRKSRC}/english.aff ${DESTDIR}${PREFIX}/lib/${DICT_LANG}.aff
	${INSTALL_DATA} ${WRKSRC}/xlg+.hash ${DESTDIR}${PREFIX}/lib/${DICT_LANG}.hash

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