diff options
Diffstat (limited to 'biology/hhsuite/Makefile')
-rw-r--r-- | biology/hhsuite/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile index fc24fac30c34..36bda4005cdb 100644 --- a/biology/hhsuite/Makefile +++ b/biology/hhsuite/Makefile @@ -1,14 +1,18 @@ PORTNAME= hhsuite DISTVERSIONPREFIX= v DISTVERSION= 3.3.0 +PORTREVISION= 3 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 @@ -19,13 +23,19 @@ 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:Mpowerpc64*} +.elif ${ARCH} == powerpc64le CMAKE_ON= HAVE_POWER8 .endif |