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

PORTNAME=   hunspell
PORTVERSION=    2.0.10
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   https://alioth.debian.org/frs/download.php/2357/
PKGNAMEPREFIX=  no-
DISTNAME=   no_NO-pack2-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

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

USES=       zip
NO_BUILD=   yes

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

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>