diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile index fc24fac30c34..a5eadbd193e2 100644 --- a/biology/hhsuite/Makefile +++ b/biology/hhsuite/Makefile @@ -1,32 +1,38 @@ 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 .if ${ARCH} == aarch64 CMAKE_ON= HAVE_ARM8 .elif ${ARCH} == amd64 || ${ARCH} == i386 CMAKE_ON= HAVE_SSE2 .elif ${ARCH:Mpowerpc64*} CMAKE_ON= HAVE_POWER8 .endif +.if ${ARCH} == powerpc +PLIST_SUB+= OPENMP="@comment " +.else +PLIST_SUB+= OPENMP="" +.endif + .include diff --git a/biology/hhsuite/pkg-plist b/biology/hhsuite/pkg-plist index c0088e8470e1..7b43c4fe3173 100644 --- a/biology/hhsuite/pkg-plist +++ b/biology/hhsuite/pkg-plist @@ -1,59 +1,59 @@ bin/a3m_database_extract bin/a3m_database_filter bin/a3m_database_reduce bin/a3m_extract bin/a3m_reduce bin/cstranslate bin/cstranslate_mpi bin/ffindex_apply bin/ffindex_apply_mpi bin/ffindex_build bin/ffindex_from_fasta bin/ffindex_from_fasta_with_split bin/ffindex_get bin/ffindex_modify bin/ffindex_order bin/ffindex_reduce bin/ffindex_unpack bin/hhalign bin/hhalign_mpi -bin/hhalign_omp +%%OPENMP%%bin/hhalign_omp bin/hhblits -bin/hhblits_ca3m +%%OPENMP%%bin/hhblits_ca3m bin/hhblits_mpi -bin/hhblits_omp +%%OPENMP%%bin/hhblits_omp bin/hhconsensus bin/hhfilter bin/hhmake bin/hhsearch bin/hhsearch_mpi -bin/hhsearch_omp +%%OPENMP%%bin/hhsearch_omp %%DATADIR%%/data/context_data.crf %%DATADIR%%/data/context_data.lib %%DATADIR%%/data/cs219.lib %%DATADIR%%/data/do_not_delete %%DATADIR%%/data/do_not_delete.phr %%DATADIR%%/data/do_not_delete.pin %%DATADIR%%/data/do_not_delete.psq %%DATADIR%%/scripts/Align.pm %%DATADIR%%/scripts/HHPaths.pm %%DATADIR%%/scripts/a3m.py %%DATADIR%%/scripts/addss.pl %%DATADIR%%/scripts/check_a3m.py %%DATADIR%%/scripts/cif2fasta.py %%DATADIR%%/scripts/create_profile_from_hhm.pl %%DATADIR%%/scripts/create_profile_from_hmmer.pl %%DATADIR%%/scripts/ffindex.py %%DATADIR%%/scripts/get_a3m_size.py %%DATADIR%%/scripts/hh_reader.py %%DATADIR%%/scripts/hhmakemodel.pl %%DATADIR%%/scripts/hhmakemodel.py %%DATADIR%%/scripts/hhsuitedb.py %%DATADIR%%/scripts/mergeali.pl %%DATADIR%%/scripts/multithread.pl %%DATADIR%%/scripts/pdb2fasta.pl %%DATADIR%%/scripts/pdbfilter.pl %%DATADIR%%/scripts/pdbfilter.py %%DATADIR%%/scripts/reformat.pl %%DATADIR%%/scripts/renumberpdb.pl %%DATADIR%%/scripts/splitfasta.pl