summaryrefslogtreecommitdiff
path: root/biology/kallisto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/kallisto/Makefile')
-rw-r--r--biology/kallisto/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/biology/kallisto/Makefile b/biology/kallisto/Makefile
new file mode 100644
index 00000000000..86fc101cb41
--- /dev/null
+++ b/biology/kallisto/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2018/12/21 19:00:56 bacon Exp $
+
+DISTNAME= kallisto-${PV}
+CATEGORIES= biology
+MASTER_SITES= ${MASTER_SITE_GITHUB:=pachterlab/}
+GITHUB_TAG= v${PV}
+
+MAINTAINER= bacon@NetBSD.org
+HOMEPAGE= https://pachterlab.github.io/kallisto/
+COMMENT= Quantify abundances of transcripts from RNA-Seq data
+LICENSE= 2-clause-bsd
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= pax
+USE_CMAKE= yes
+
+SUBST_CLASSES+= test
+SUBST_STAGE.test= post-build
+SUBST_FILES.test= kallisto-test
+SUBST_SED.test= -e 's|/usr/local/share/kallisto|${DATADIR}|g'
+
+PV= 0.45.0
+DATADIR= ${PREFIX}/share/kallisto
+
+INSTALLATION_DIRS= bin ${DATADIR}
+
+post-extract:
+ ${CP} ${FILESDIR}/kallisto-test ${WRKSRC}
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/kallisto-test ${DESTDIR}${PREFIX}/bin
+ cd ${WRKSRC} && pax -rw test ${DESTDIR}${DATADIR}
+
+.include "../../biology/htslib/buildlink3.mk"
+.include "../../devel/hdf5/buildlink3.mk"
+.include "../../archivers/szip/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"