aboutsummaryrefslogtreecommitdiff
path: root/biology/abyss/Makefile
blob: 8458e069649a444ddd7a66e297818bb6e1cf473d (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
49
50
51
PORTNAME=	abyss
DISTVERSION=	2.3.7
CATEGORIES=	biology

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Assembly By Short Sequences: parallel, paired-end sequence assembler
WWW=		https://www.bcgsc.ca/resources/software/abyss

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_i386=	result of comparison of constant 18446744073709551615 with expression of type 'size_t', see https://github.com/bcgsc/abyss/issues/310

BUILD_DEPENDS=	${LOCALBASE}/include/boost/version.hpp:devel/boost-libs \
		ghc:lang/ghc \
		pandoc:textproc/hs-pandoc # pandoc is required just for one man page: abyss-sealer
LIB_DEPENDS=	libbtllib.so:biology/btllib \
		libffi.so:devel/libffi \
		libgmp.so:math/gmp \
		libmpich.so:net/mpich # binaries aren't linked with libmpich.so for some reason
RUN_DEPENDS=	bash:shells/bash \
		gmake:devel/gmake

USES=		autoreconf compiler:c++11-lang gmake iconv:wchar_t localbase:ldflags shebangfix sqlite

USE_GITHUB=	yes
GH_ACCOUNT=	bcgsc

SHEBANG_FILES=	bin/${PORTNAME}-* DataBase/abyss-db-txt
SHEBANG_LANG=	make
make_OLD_CMD=	/usr/bin/make
make_CMD=	${PREFIX}/bin/gmake

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-sparsehash # configure fails to find std::hash, reported to the ML: https://groups.google.com/forum/#!topic/trans-abyss/SZDBKR5bKxs

TEST_TARGET=	check # tests fail to compile, see https://github.com/bcgsc/abyss/issues/453

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*

PORTSCOUT=	limit:^[0-9\.]*$$ # to ignore alpha-numeric tags

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+=	-Wno-error=unused-but-set-variable
.endif

.include <bsd.port.post.mk>