Fix shebang of ispellaff2myspell Add run dependency on perl Strip final binaries Bump portrevision
33 lines
854 B
Makefile
33 lines
854 B
Makefile
# Created by: janos.mohacsi@bsd.hu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hunspell
|
|
PORTVERSION= 1.3.2
|
|
PORTREVISION= 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
|
|
|
|
CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
|
|
GNU_CONFIGURE= yes
|
|
USES= pathfix iconv ncurses readline shebangfix perl5
|
|
SHEBANG_FILES= src/tools/ispellaff2myspell
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5= run
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|444|644|g' ${WRKSRC}/src/parsers/Makefile
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhunspell-1.3.so.0
|
|
|
|
.include <bsd.port.mk>
|