summaryrefslogtreecommitdiffstats
path: root/biology/bwa/Makefile
blob: a20f1209ac52487b886fe4eff021f242f83fab04 (plain)
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
# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$

PORTNAME=	bwa
PORTVERSION=	0.7.9a
CATEGORIES=	biology
MASTER_SITES=	SF/bio-bwa/

MAINTAINER=	bacon4000@gmail.com
COMMENT=	Burrows-Wheeler sequence aligner

LICENSE=	GPLv3

BROKEN_aarch64=		fails to compile: error: invalid conversion between vector type and integer type

USES=		perl5 shebangfix tar:bzip2
SHEBANG_FILES=	qualfa2fq.pl xa2multi.pl
USE_PERL5=	run

PLIST_FILES=	bin/bwa bin/qualfa2fq.pl bin/xa2multi.pl man/man1/bwa.1.gz

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64 || ${ARCH} == i386
# Avoid #error in emmintrin.h
CFLAGS+=	-msse2
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bwa ${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud