freebsd-ports/biology/kallisto/Makefile
Tobias C. Berner 5564b3b420 science/hdf5: bump PORTREVISION of consumers
The SO-version increased in the update to 1.12.2 in
a43418b815 .

Reported by:	VVD <vvd@unislabs.com>
2022-07-20 16:35:24 +02:00

45 lines
1.1 KiB
Makefile

PORTNAME= kallisto
DISTVERSIONPREFIX= v
DISTVERSION= 0.48.0
PORTREVISION= 2
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/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 <bsd.port.mk>