summaryrefslogtreecommitdiffstats
path: root/math/dieharder/Makefile
blob: fa8249b58ed6c03f3239fc64b2facbf3e5ef3b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: bf <bf2006a@yahoo.com>
# $FreeBSD$

PORTNAME=	dieharder
PORTVERSION=	3.31.1
PORTREVISION=	3
CATEGORIES=	math
MASTER_SITES=	http://www.phy.duke.edu/~rgb/General/dieharder/ LOCAL/bf

MAINTAINER=	bf@FreeBSD.org
COMMENT=	Random number generator testsuite

LICENSE=	GPLv2

LIB_DEPENDS=	libgsl.so:${PORTSDIR}/math/gsl

MAKE_JOBS_UNSAFE=	yes

USES=		dos2unix libtool tar:tgz
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN=		Does not compile on ia64 or sparc64
.endif

check test: build
	${WRKSRC}/dieharder/dieharder -a

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud