# Created by: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
# $FreeBSD: tags/RELEASE_12_0_0/benchmarks/hs-criterion/Makefile 473611 2018-06-30 09:57:59Z arrowd $

PORTNAME=	criterion
PORTVERSION=	1.4.1.0
PORTREVISION=	1
CATEGORIES=	benchmarks haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Robust, reliable performance measurement and analysis

LICENSE=	BSD3CLAUSE

USE_CABAL=	aeson ansi-wl-pprint base-compat base-compat-batteries \
		cassava code-page exceptions Glob js-flot js-jquery \
		microstache mtl mwc-random optparse-applicative statistics \
		transformers-compat vector vector-algorithms

INSTALL_PORTEXAMPLES=	\
	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}

INSTALL_PORTDATA=	${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DATADIR}

EXECUTABLE=	criterion-report

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
