blob: 4189750191411cbe1bfefac4c59ec733e8f110d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
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>
|