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

PORTNAME=   hunspell
PORTVERSION=    20170914
CATEGORIES= polish textproc
MASTER_SITES=   https://sjp.pl/slownik/ort/ \
        LOCAL/sunpoet/${PORTNAME}
DISTNAME=   sjp-myspell-pl-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

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

LICENSE=    APACHE20 CC-BY-NC-SA-1.0 GPLv3 LGPL3 MPL11
LICENSE_COMB=   dual

NO_ARCH=    yes
NO_BUILD=   yes
USES=       zip

PLIST_FILES=    %%DATADIR%%/pl_PL.aff \
        %%DATADIR%%/pl_PL.dic

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

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

.include <bsd.port.mk>