aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/no-hunspell/Makefile
blob: ab46c1ea298fe6b96aa1687dd0bae64d3f25c2d1 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   hunspell
PORTVERSION=    2.1
CATEGORIES= textproc
MASTER_SITES=   https://alioth.debian.org/frs/download.php/file/3764/
PKGNAMEPREFIX=  no-
DISTNAME=   no_NO-pack2-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= office@FreeBSD.org
COMMENT=    Norwegian (Nynorsk and Bokmaal) hunspell dictionaries

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

USES=       zip
NO_ARCH=    yes
NO_BUILD=   yes

PLIST_FILES=    %%DATADIR%%/nb_NO.aff \
        %%DATADIR%%/nb_NO.dic \
        %%DATADIR%%/nn_NO.aff \
        %%DATADIR%%/nn_NO.dic

post-extract:
    @${MKDIR} ${WRKSRC}
    @${TAR} -xf ${WRKDIR}/nb_NO.zip --directory ${WRKSRC}
    @${TAR} -xf ${WRKDIR}/nn_NO.zip --directory ${WRKSRC}

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/nb_NO.aff ${WRKSRC}/nb_NO.dic \
        ${WRKSRC}/nn_NO.aff ${WRKSRC}/nn_NO.dic ${STAGEDIR}${DATADIR}/

.include <bsd.port.mk>