Update databases/mariadb104-server to version 10.4.13_2
[dports.git] / biology / bowtie / Makefile
1 # $FreeBSD$
2
3 PORTNAME=               bowtie
4 DISTVERSIONPREFIX=      v
5 DISTVERSION=            1.1.2
6 PORTREVISION=           9
7 CATEGORIES=             biology
8
9 MAINTAINER=     jwb@FreeBSD.org
10 COMMENT=        Ultrafast, memory-efficient short read aligner
11
12 LICENSE=        ART10
13
14 # May also work on other 64-bit platforms, but untested
15 ONLY_FOR_ARCHS= amd64
16
17 # FIXME: bowtie-align intermittently dumps core when compiled with clang
18 # GCC 4.2 does not provide good performance
19 USES=           gmake perl5 python:run shebangfix
20 USE_GCC=        yes
21 USE_PERL5=      run
22 USE_GITHUB=     yes
23
24 SHEBANG_FILES=  scripts/*.pl bowtie bowtie-build bowtie-inspect
25 GH_ACCOUNT=     BenLangmead
26
27 OPTIONS_DEFINE= DOCS
28
29 post-install:
30         ${MKDIR} ${STAGEDIR}${DATADIR}/scripts
31         ${INSTALL_SCRIPT} \
32                 ${WRKSRC}/bowtie \
33                 ${WRKSRC}/bowtie-build \
34                 ${WRKSRC}/bowtie-inspect \
35                 ${STAGEDIR}${PREFIX}/bin
36         ${INSTALL_SCRIPT} \
37                 ${WRKSRC}/scripts/*.sh \
38                 ${WRKSRC}/scripts/*.pl \
39                 ${STAGEDIR}${DATADIR}/scripts
40         cd ${WRKSRC} && ${COPYTREE_SHARE} \
41                 'genomes indexes reads' \
42                 ${STAGEDIR}${DATADIR}
43         cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
44                 \* \
45                 ${STAGEDIR}${DOCSDIR}
46         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*-[sl]
47
48 .include <bsd.port.mk>