freebsd-ports/biology/bowtie/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$
PORTNAME= bowtie
PORTVERSION= 1.1.2
PORTREVISION= 4
DISTVERSIONPREFIX= v
CATEGORIES= biology
MAINTAINER= bacon4000@gmail.com
COMMENT= Ultrafast, memory-efficient short read aligner
LICENSE= ART10
# May also work on other 64-bit platforms, but untested
ONLY_FOR_ARCHS= amd64
# FIXME: bowtie-align intermittently dumps core when compiled with clang
# GCC 4.2 does not provide good performance
USE_GCC= yes
USES= gmake perl5 python:run shebangfix
USE_PERL5= run
SHEBANG_FILES= scripts/*.pl bowtie bowtie-build \
bowtie-inspect
USE_GITHUB= yes
GH_ACCOUNT= BenLangmead
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/scripts
${INSTALL_SCRIPT} \
${WRKSRC}/bowtie \
${WRKSRC}/bowtie-build \
${WRKSRC}/bowtie-inspect \
${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} \
${WRKSRC}/scripts/*.sh \
${WRKSRC}/scripts/*.pl \
${STAGEDIR}${DATADIR}/scripts
cd ${WRKSRC} && ${COPYTREE_SHARE} \
'genomes indexes reads' \
${STAGEDIR}${DATADIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
\* \
${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*-[sl]
.include <bsd.port.mk>