blob: 5f3e404bf3ac4c9833e6c01b67f7a367774c5ae5 (
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
|
# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$
PORTNAME= bowtie
PORTVERSION= 1.1.2
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 shebangfix
USE_PERL5= run
SHEBANG_FILES= scripts/*.pl
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>
|