Date: Fri, 20 Jun 2014 12:54:29 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358567 - head/biology/velvet Message-ID: <201406201254.s5KCsTb9096774@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Fri Jun 20 12:54:29 2014 New Revision: 358567 URL: http://svnweb.freebsd.org/changeset/ports/358567 QAT: https://qat.redports.org/buildarchive/r358567/ Log: Fix shebang line in Perl and Python scripts. PR: 191146 Submitted by: mzaki@m.u-tokyo.ac.jp (maintainer) Modified: head/biology/velvet/Makefile Modified: head/biology/velvet/Makefile ============================================================================== --- head/biology/velvet/Makefile Fri Jun 20 12:51:37 2014 (r358566) +++ head/biology/velvet/Makefile Fri Jun 20 12:54:29 2014 (r358567) @@ -3,6 +3,7 @@ PORTNAME= velvet PORTVERSION= 1.2.10 +PORTREVISION= 1 CATEGORIES= biology MASTER_SITES= http://www.ebi.ac.uk/~zerbino/velvet/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -17,11 +18,11 @@ MAXKMERLENGTH?= 31 VELVET_CATEGORIES?= 2 MAKE_ENV+= MAXKMERLENGTH=${MAXKMERLENGTH} CATEGORIES=${VELVET_CATEGORIES} -USES= perl5 gmake +USES= perl5 gmake shebangfix USE_PERL5= run BINARIES= velvetg velveth -SCRIPTS= contrib/shuffleSequences_fasta/shuffleSequences_fasta.pl \ +SHEBANG_FILES= contrib/shuffleSequences_fasta/shuffleSequences_fasta.pl \ contrib/shuffleSequences_fasta/shuffleSequences_fastq.pl \ contrib/VelvetOptimiser-2.2.4/VelvetOptimiser.pl \ contrib/afg_handling/asmbly_splitter.pl \ @@ -44,10 +45,10 @@ PERLMOD_FILES= contrib/VelvetOptimiser-2 .if !defined(WITHOUT_PYTHON) USE_PYTHON= yes -SCRIPTS+= contrib/AssemblyAssembler1.3/AssemblyAssembler1.3.py +SHEBANG_FILES+= contrib/AssemblyAssembler1.3/AssemblyAssembler1.3.py .endif -.for f in ${BINARIES} ${SCRIPTS} +.for f in ${BINARIES} ${SHEBANG_FILES} PLIST_FILES+= bin/${f:T} .endfor .for d in ${PERLMOD_DIRS} @@ -63,19 +64,11 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> -post-patch: -.for f in ${SCRIPTS} - ${REINPLACE_CMD} -e s,#!/usr/bin/perl,${PERL}, ${WRKSRC}/${f} -.endfor -.if !defined(WITHOUT_PYTHON) - ${REINPLACE_CMD} -e s,#!/usr/bin/python,${PYTHON_CMD}, ${WRKSRC}/contrib/AssemblyAssembler1.3/AssemblyAssembler1.3.py -.endif - do-install: .for f in ${BINARIES} ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor -.for f in ${SCRIPTS} +.for f in ${SHEBANG_FILES} ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/${f:T} .endfor .for d in ${PERLMOD_DIRS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406201254.s5KCsTb9096774>