32 lines
741 B
Makefile
32 lines
741 B
Makefile
PORTNAME= hhsuite
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.3.0
|
|
CATEGORIES= biology science
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Remote protein homology detection suite
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == aarch64
|
|
CMAKE_ON= HAVE_ARM8
|
|
.elif ${ARCH} == amd64 || ${ARCH} == i386
|
|
CMAKE_ON= HAVE_SSE2
|
|
.elif ${ARCH:Mpowerpc64*}
|
|
CMAKE_ON= HAVE_POWER8
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|