aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hunspell/Makefile
blob: c4fef8fd6c7723f5beb64885d2150a61c21da0fa (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
# Created by: janos.mohacsi@bsd.hu
# $FreeBSD$

PORTNAME=   hunspell
PORTVERSION=    1.3.2
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   SF/${PORTNAME}/Hunspell/${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= office@FreeBSD.org
COMMENT=    Improved spell-checker for Hungarian and other languages

LICENSE=    GPLv2 LGPL21 MPL
LICENSE_COMB=   dual

CONFIGURE_ARGS= --disable-nls --with-libiconv-prefix=${LOCALBASE} --with-readline --with-ui
GNU_CONFIGURE=  yes
MAKE_JOBS_SAFE= yes
USES=   pathfix
USE_ICONV=  yes
USE_LDCONFIG=   yes
USE_NCURSES=    yes

MANLANG=    "" hu
MAN1_EN=    hunspell.1 hunzip.1 hzip.1
MAN1_HU=    hunspell.1
MAN3_EN=    hunspell.3
MAN4_EN=    hunspell.4
MAN4_HU=    hunspell.4

post-patch:
    @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx

.include <bsd.port.mk>