1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/biology/kallisto/Makefile
Jason W. Bacon 3c0ec18494 biology/kallisto: Add -lz for pending hdf5 upgrade
PR:             252965
Submitted by:   thierry
2021-01-26 01:34:20 +00:00

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= kallisto
DISTVERSIONPREFIX= v
DISTVERSION= 0.46.1
PORTEPOCH= 1
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= Quantify abundances of transcripts from RNA-Seq data
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
BUILD_DEPENDS= autoconf>=0:devel/autoconf
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libsz.so:science/szip
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+= -lz
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
${INSTALL_SCRIPT} ${WRKDIR}/kallisto-test ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>