aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/no-hunspell/Makefile
blob: 9ffb2791f6b35df224f256d78ec3a9e7a5ec2e46 (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
37
38
# New ports collection makefile for:    no-hunspell
# Date created:     2011-07-21
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $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

USE_ZIP=    yes
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:
    @${EXTRACT_CMD} ${WRKDIR}/nb_NO.zip -d ${WRKSRC}/
    @${EXTRACT_CMD} ${WRKDIR}/nn_NO.zip -d ${WRKSRC}/

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

.include <bsd.port.mk>