mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
82d79438ee
Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D13300
45 lines
995 B
Makefile
45 lines
995 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bowtie2
|
|
PORTVERSION= 2.3.3.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= biology
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
COMMENT= Ultrafast, memory-efficient short read aligner
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
# May also work on other 64-bit platforms, but untested
|
|
ONLY_FOR_ARCHS= amd64
|
|
LIB_DEPENDS= libtbb.so:devel/tbb
|
|
|
|
USES= gmake perl5 python shebangfix
|
|
USE_PERL5= run
|
|
SHEBANG_FILES= bowtie2-build bowtie2-inspect scripts/*.pl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= BenLangmead
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/scripts
|
|
${INSTALL_PROGRAM} \
|
|
${WRKSRC}/bowtie2*-s \
|
|
${WRKSRC}/bowtie2*-l \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} \
|
|
${WRKSRC}/scripts/*.sh \
|
|
${WRKSRC}/scripts/*.pl \
|
|
${STAGEDIR}${DATADIR}/scripts
|
|
|
|
post-install-DOCS-on:
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-EXAMPLES-on:
|
|
(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|