1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/biology/unikmer/Makefile
2022-03-30 03:01:44 -04:00

33 lines
720 B
Makefile

PORTNAME= unikmer
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.8
PORTREVISION= 1
CATEGORIES= biology
MAINTAINER= yuri@FreeBSD.org
COMMENT= Toolkit for nucleic acid k-mer analysis, set operations on k-mers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= csvtk:science/csvtk
USES= go:modules perl5
USE_PERL5= test
GO_MODULE= github.com/shenwei356/unikmer
GO_TARGET= ./${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
do-test: # from the benchmark section in README
@cd ${WRKSRC} && \
${GO_CMD} test . -bench=Bench* -benchmem \
| ${GREP} Bench \
| ${PERL} -pe 's/\s\s+/\t/g' \
| csvtk cut -Ht -f 1,3-5 \
| csvtk add-header -t -n test,time,memory,allocs \
| csvtk pretty -t -r
.include <bsd.port.mk>