Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 14:16:31 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424567 - head/math/mosesdecoder
Message-ID:  <201610241416.u9OEGVnV054854@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610241416.u9OEGVnV054854>