diff --git a/biology/kallisto/Makefile b/biology/kallisto/Makefile index 42715d9abc88..ea7cb1a53596 100644 --- a/biology/kallisto/Makefile +++ b/biology/kallisto/Makefile @@ -1,44 +1,48 @@ PORTNAME= kallisto DISTVERSIONPREFIX= v DISTVERSION= 0.50.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Quantify abundances of transcripts from RNA-Seq data WWW= https://pachterlab.github.io/kallisto/about.html LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt +# Requires a 64-bit processor +ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 + LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec \ libhts.so:biology/htslib USES= cmake:noninja compiler:c++11-lang gmake localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= pachterlab SUB_FILES= kallisto-test PORTEXAMPLES= * PLIST_FILES= bin/kallisto EXAMPLES_PLIST_FILES= bin/kallisto-test # hdf5 is being phased out and is no longer built in by default, but is still # required for Sleuth (requires kallisto bootstrap estimates) and other # downstream tools. Remove this after Sleuth et al catch up. CMAKE_ARGS+= -DUSE_HDF5:BOOL=ON MAKE_JOBS_UNSAFE= yes LDFLAGS+= -lhts -lz OPTIONS_DEFINE= EXAMPLES post-extract: ${RM} -rf ${WRKSRC}/ext/htslib post-install-EXAMPLES-on: ${INSTALL_SCRIPT} ${WRKDIR}/kallisto-test ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/biology/kallisto/files/patch-ext_bifrost_CMakeLists.txt b/biology/kallisto/files/patch-ext_bifrost_CMakeLists.txt new file mode 100644 index 000000000000..c4c22a5e0666 --- /dev/null +++ b/biology/kallisto/files/patch-ext_bifrost_CMakeLists.txt @@ -0,0 +1,11 @@ +--- ext/bifrost/CMakeLists.txt.orig 2023-07-14 14:27:24 UTC ++++ ext/bifrost/CMakeLists.txt +@@ -30,8 +30,6 @@ if(COMPILATION_ARCH MATCHES "OFF") + message("Disabling native architecture compilation (including AVX2)") + else(COMPILATION_ARCH MATCHES "OFF") + message("Compilation architecture: ${COMPILATION_ARCH}") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=${COMPILATION_ARCH}") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${COMPILATION_ARCH}") + endif(COMPILATION_ARCH MATCHES "OFF") + + if(ENABLE_AVX2 MATCHES "OFF")