1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/biology/haplohseq/Makefile
Jason W. Bacon c8eb3c6e6c biology/haplohseq: Switch to distfile with example data
Add script to run on example input
Minor fix to report inadequate VCF input
2019-11-17 15:00:13 +00:00

35 lines
795 B
Makefile

# $FreeBSD$
PORTNAME= haplohseq
DISTVERSION= 0.1.2
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= https://acadix.biz/Ports/distfiles/
MAINTAINER= jwb@FreeBSD.org
COMMENT= Identify regions of allelic imbalance
LICENSE= MIT
LIB_DEPENDS= libboost_system.so:devel/boost-libs
RUN_DEPENDS= R-cran-optparse>0:devel/R-cran-optparse
USES= compiler:c++11-lang gmake localbase:ldflags python:2.7 tar:xz
OPTIONS_DEFINE= EXAMPLES
MAKEFILE= makefile
LDFLAGS+= -lpthread
MAKE_ENV= STRIP=${STRIP}
SUB_FILES= haplohseq-example
post-install-EXAMPLES-on:
${INSTALL_SCRIPT} ${WRKDIR}/haplohseq-example ${STAGEDIR}${PREFIX}/bin
(cd ${WRKSRC} && ${COPYTREE_SHARE} "example ldmap scripts" ${STAGEDIR}${EXAMPLESDIR})
do-test:
@(cd ${WRKSRC}/build/test && ${FILESDIR}/run-tests)
.include <bsd.port.mk>