svn commit: r424567 - head/math/mosesdecoder
Mathieu Arnold
mat at FreeBSD.org
Mon Oct 24 14:16:33 UTC 2016
Author: mat
Date: Mon Oct 24 14:16:31 2016
New Revision: 424567
URL: https://svnweb.freebsd.org/changeset/ports/424567
Log:
Convert one port as an example.
Sponsored by: Absolight
Modified:
head/math/mosesdecoder/Makefile (contents, props changed)
Modified: head/math/mosesdecoder/Makefile
==============================================================================
--- head/math/mosesdecoder/Makefile Mon Oct 24 14:16:23 2016 (r424566)
+++ head/math/mosesdecoder/Makefile Mon Oct 24 14:16:31 2016 (r424567)
@@ -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}
More information about the svn-ports-all
mailing list