blob: ec9032be740a8baa5090c1b079493bef71ec663b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $FreeBSD$
PORTNAME= bowtie
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.2
PORTREVISION= 8
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
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
USES= gmake perl5 python:run shebangfix
USE_GCC= yes
USE_PERL5= run
USE_GITHUB= yes
SHEBANG_FILES= scripts/*.pl bowtie bowtie-build bowtie-inspect
GH_ACCOUNT= BenLangmead
OPTIONS_DEFINE= DOCS
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>
|