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

PORTNAME=   hunspell
PORTVERSION=    1.3.3
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
LICENSE_FILE_LGPL21=    ${WRKSRC}/COPYING.LGPL
LICENSE_FILE_MPL=   ${WRKSRC}/COPYING.MPL

CONFLICTS_INSTALL=  tinker-[0-9]*
CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
GNU_CONFIGURE=  yes
USES=       libtool:keepla pathfix iconv ncurses readline shebangfix perl5
SHEBANG_FILES=  src/tools/ispellaff2myspell
USE_LDCONFIG=   yes
USE_PERL5=  run
INSTALL_TARGET= install-strip

PLIST_SUB=  SHLIB_VER=${PORTVERSION:R}

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

.include <bsd.port.mk>