summaryrefslogtreecommitdiff
path: root/textproc/sv-hunspell/Makefile
blob: 3037012ac6fc025636917e2184786a5c7476c637 (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

PORTNAME=	hunspell
PORTVERSION=	2.40
CATEGORIES=	textproc
MASTER_SITES=	https://extensions.libreoffice.org/extensions/swedish-spelling-dictionary-den-stora-svenska-ordlistan/${PORTVERSION}/@@download/file/ \
		LOCAL/sunpoet/${PORTNAME}
PKGNAMEPREFIX=	sv-
DISTNAME=	ooo_swedish_dict_${PORTVERSION:R}-${PORTVERSION:E}
EXTRACT_SUFX=	.oxt
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	office@FreeBSD.org
COMMENT=	Swedish hunspell dictionaries

LICENSE=	LGPL3

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

PLIST_FILES=	%%DATADIR%%/sv_FI.aff \
		%%DATADIR%%/sv_FI.dic \
		%%DATADIR%%/sv_SE.aff \
		%%DATADIR%%/sv_SE.dic

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}/
	cd ${WRKSRC}/dictionaries/ && ${INSTALL_DATA} sv_FI.aff sv_FI.dic sv_SE.aff sv_SE.dic ${STAGEDIR}${DATADIR}/

.include <bsd.port.mk>