From 77e43dab911febf142372be41f032364421f0692 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 24 Oct 2016 14:16:31 +0000 Subject: Convert one port as an example. Sponsored by: Absolight --- math/mosesdecoder/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'math') diff --git a/math/mosesdecoder/Makefile b/math/mosesdecoder/Makefile index aa6c1df720cc..2f2eb69389fe 100644 --- a/math/mosesdecoder/Makefile +++ b/math/mosesdecoder/Makefile @@ -23,16 +23,10 @@ USE_GITHUB= yes GH_ACCOUNT= moses-smt USES= compiler:c++11-lang shebangfix -SHEBANG_FILES= scripts/analysis/weight-scan-summarize.sh \ - scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh \ - scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh +SHEBANG_REGEX= ./scripts/.*\.(sh|pl|perl|cgi) MAKE_ENV+= BOOST_BUILD_PATH=${WRKSRC}/jam-files/boost-build -post-patch: - @${FIND} ${WRKSRC}/scripts \( -name "*.pl" -o -name "*.perl" -o -name "*.cgi" \) -exec \ - ${REINPLACE_CMD} -i '' -e '1s|/usr/bin/perl|${perl_CMD}|' {} \; - do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} bjam --with-boost=${LOCALBASE} --with-irstlm=${LOCALBASE} --with-randlm=${LOCALBASE} --without-tcmalloc --notrace --toolset=${CHOSEN_COMPILER_TYPE} debug-symbols=off ${_MAKE_JOBS} -- cgit v1.2.3