aboutsummaryrefslogtreecommitdiffstats
path: root/hebrew/hunspell/Makefile
blob: aacf312904a61a75d634be3eb8e5c4b1af5be858 (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=    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

ALL_TARGET= hunspell
CONFIGURE_ARGS= --enable-fatverb
GNU_CONFIGURE=  yes
USE_PERL5=  build
USES=       gmake iconv:build perl5

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

NO_STAGE=   yes
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>