aboutsummaryrefslogtreecommitdiffstats
path: root/portuguese/hunspell/Makefile
blob: 9050582c41b9297204e231278e95e54c7eedb4b9 (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=    20150418
CATEGORIES= portuguese textproc
MASTER_SITES=   http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/ \
        http://www.broffice.org/files/:BR \
        LOCAL/sunpoet/${PORTNAME}
DISTFILES=  hunspell-pt_PT-${PORTVERSION}.tar.gz \
        pt_BR-2012-06-09AOC.zip:BR
DIST_SUBDIR=    ${PORTNAME}

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

# We pick the common one among:
# - pt_PT is licensed under GPLv2, LGPL21 and MPL.
# - pt_BR is licensed under LGPL3 and MPL.
LICENSE=    MPL

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/hunspell-pt_PT-${PORTVERSION}

PLIST_FILES=    %%DATADIR%%/pt_BR.aff \
        %%DATADIR%%/pt_BR.dic \
        %%DATADIR%%/pt_PT.aff \
        %%DATADIR%%/pt_PT.dic

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}/
    ${INSTALL_DATA} ${WRKDIR}/pt_BR.aff ${WRKDIR}/pt_BR.dic \
        ${WRKSRC}/pt_PT.aff ${WRKSRC}/pt_PT.dic ${STAGEDIR}${DATADIR}/

.include <bsd.port.mk>