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

PORTNAME=   hunspell
PORTVERSION=    1.6.5
PORTREVISION=   1
CATEGORIES= ukrainian textproc
MASTER_SITES=   SF/ispell-uk/spell-uk/${PORTVERSION}
DISTNAME=   spell-uk-${PORTVERSION}
EXTRACT_SUFX=   .tgz
DIST_SUBDIR=    ${PORTNAME}

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

BUILD_DEPENDS=  iconv:${PORTSDIR}/converters/libiconv

USES=       shebangfix
ALL_TARGET= myspell
USE_GMAKE=  yes
USE_PERL5_BUILD=    yes
SHEBANG_FILES=  bin/*.pl

PLIST_FILES=    %%DATADIR%%/uk_UA.aff \
        %%DATADIR%%/uk_UA.dic
PLIST_DIRSTRY=  %%DATADIR%%

do-install:
    ${MKDIR} ${DATADIR}/
    cd ${WRKSRC}/dist/my${DISTNAME}/ && ${INSTALL_DATA} uk_UA.aff uk_UA.dic ${DATADIR}/

.include <bsd.port.mk>