blob: 72b887c8a1ca5aa97a4261a40c99a3fb154fdf08 (
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
|
PORTNAME= hhsuite
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.0
PORTREVISION= 1
CATEGORIES= biology science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Remote protein homology detection suite
WWW= https://github.com/soedinglab/hh-suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe # not for 32-bit architectures, see https://github.com/soedinglab/hh-suite/issues/322#issuecomment-1264416293
LIB_DEPENDS= libmpi.so:net/openmpi
USES= compiler:c++11-lang cmake perl5 python shebangfix
SHEBANG_GLOB= *.pl *.py
USE_GITHUB= yes
GH_ACCOUNT= soedinglab
GH_PROJECT= hh-suite
LDFLAGS+= -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib -lmpi # force linking to openmpi, and not to mpich
.if !exists(/usr/include/omp.h)
PLIST_SUB+= OPENMP="@comment "
.else
PLIST_SUB+= OPENMP=""
.endif
.include <bsd.port.options.mk>
.if ${ARCH} == aarch64
CMAKE_ON= HAVE_ARM8
.elif ${ARCH} == amd64 || ${ARCH} == i386
CMAKE_ON= HAVE_SSE2
.elif ${ARCH} == powerpc64le
CMAKE_ON= HAVE_POWER8
.endif
.include <bsd.port.mk>
|