aboutsummaryrefslogtreecommitdiffstats
path: root/hebrew/hunspell/Makefile
blob: db95e719a467ca070a19818154a8c931a6e460e5 (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:    hunspell
# Date created:     2011-07-20
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   hunspell
PORTVERSION=    1.2
CATEGORIES= hebrew textproc
MASTER_SITES=   http://hspell.ivrix.org.il/ \
        LOCAL/sunpoet/${PORTNAME}
DISTNAME=   hspell-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

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

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

ALL_TARGET= hunspell
CONFIGURE_ARGS= --enable-fatverb
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_PERL5_BUILD=    yes

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

post-patch:
    @${REINPLACE_CMD} 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/pmerge

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

.include <bsd.port.mk>