20e5c7c289
PR: ports/245240 Submitted by: pkubaj
41 lines
983 B
Makefile
41 lines
983 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kallisto
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.46.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= biology
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
COMMENT= Quantify abundances of transcripts from RNA-Seq data
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
|
libsz.so:science/szip \
|
|
libhts.so:biology/htslib
|
|
|
|
USES= cmake:noninja compiler:c++11-lang 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 build in by default, but is still
|
|
# required for Sleuth and other downstream tools. Remove this after Sleuth
|
|
# et all catch up.
|
|
CMAKE_ARGS+= -DUSE_HDF5:BOOL=ON
|
|
|
|
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>
|