# Created by: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
# $FreeBSD: tags/RELEASE_10_2_0/benchmarks/hs-criterion/Makefile 367888 2014-09-10 20:50:31Z gerald $

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

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

LICENSE=	BSD3CLAUSE

USE_CABAL=	aeson>=0.3.2.12 Glob>=0.7.2 hastache>=0.6.0 mtl>=2 \
		mwc-random>=0.8.0.3 parsec>=3.1.0 statistics>=0.11 \
		text>=0.11 vector>=0.7.1 vector-algorithms>=0.4

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

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

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