aboutsummaryrefslogtreecommitdiffstats
path: root/ukrainian/hunspell/Makefile
blob: 6b99adceb82ad154900360af13d9190ee0385b38 (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
# New ports collection makefile for:    hunspell
# Date created:     2011-07-20
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $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

ALL_TARGET= myspell
USE_GMAKE=  yes
USE_PERL5_BUILD=    yes

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>