summaryrefslogtreecommitdiff
path: root/biology/seqan-apps/Makefile
blob: fc557b6d35ec1471bd1e29c4c6a5f7c01b8bc8aa (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
35
36
37
38
39
40
41
42
43
44
45
# Created by: Hannes Hauswedell <h2+fbsdports@fsfe.org>
# $FreeBSD$

PORTNAME=	seqan-apps
DISTVERSIONPREFIX=	seqan-v
DISTVERSION=	2.4.0
PORTREVISION=	5
CATEGORIES=	biology

MAINTAINER=	h2+fbsdports@fsfe.org
COMMENT=	Official bioinformatic applications based on the SeqAn library

LICENSE=	BSD3CLAUSE LGPL3 GPLv3
LICENSE_COMB=	multi

BUILD_DEPENDS=	boost-libs>0:devel/boost-libs

USES=		cmake compiler:openmp # once #199603 is resolved, add c++14-lang
USE_GITHUB=	yes
GH_ACCOUNT=	seqan
GH_PROJECT=	seqan
CMAKE_ARGS=	-DSEQAN_BUILD_SYSTEM="SEQAN_RELEASE_APPS"

OPTIONS_RADIO=		ARCH
OPTIONS_RADIO_ARCH=	SSE4 AVX2 NATIVE
SSE4_DESC=		Use SSE4 and POPCNT instructions
SSE4_CMAKE_ON=		-DSEQAN_ARCH_SSE4:BOOL=TRUE
AVX2_DESC=		Use SSE4, AVX2 and POPCNT instructions
AVX2_CMAKE_ON=		-DSEQAN_ARCH_AVX2:BOOL=TRUE
NATIVE_DESC=		Use all available instruction sets (-march=native)
NATIVE_CMAKE_ON=	-DSEQAN_ARCH_NATIVE:BOOL=TRUE

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
PLIST_SUB+=	RM_I386="@comment "
.else
PLIST_SUB+=	RM_I386=""
.endif

.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
USE_GCC=	yes
.endif

.include <bsd.port.post.mk>