freebsd-ports/textproc/kenlm/Makefile
Jan Beich 98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00

32 lines
1.1 KiB
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= kenlm
PORTVERSION= 20140830
PORTREVISION= 7
CATEGORIES= textproc
MASTER_SITES= http://kheafield.com/code/
DISTNAME= ${PORTNAME}
MAINTAINER= demon@FreeBSD.org
COMMENT= KenLM Language Model Toolkit
BUILD_DEPENDS= bjam:devel/boost-jam \
bash:shells/bash
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USES+= compiler:c++11-lib
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV+= BOOST_BUILD_PATH=${WRKSRC}/jam-files/boost-build
BROKEN_aarch64= fails to compile: target architecture was not detected as supported by Double-Conversion
BROKEN_powerpc64= fails to compile: error: in QuantTrieAll: difference{inf} between static_cast<double> and static_cast<double> exceeds 0.001%
do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/bjam --toolset=${CHOSEN_COMPILER_TYPE} --with-boost=${LOCALBASE} ${_MAKE_JOBS})
do-install:
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} lmplz fragment query filter build_binary dump_counts cat_compressed ${STAGEDIR}${PREFIX}/bin/)
.include <bsd.port.mk>