Update math/dieharder to version 3.31.1_1
[dports.git] / math / dieharder / Makefile
1 # New ports collection makefile for:   dieharder
2 # Date created:        14 November 2008
3 # Whom:                bf <bf2006a@yahoo.com>
4 #
5 # $FreeBSD: math/dieharder/Makefile 325401 2013-08-26 16:06:37Z bf $
6 #
7
8 PORTNAME=       dieharder
9 PORTVERSION=    3.31.1
10 PORTREVISION=   1
11 CATEGORIES=     math
12 MASTER_SITES=   http://www.phy.duke.edu/~rgb/General/dieharder/ LOCAL/bf
13 EXTRACT_SUFX=   .tgz
14
15 MAINTAINER=     bf@FreeBSD.org
16 COMMENT=        A random number generator testsuite
17
18 LICENSE=        GPLv2
19
20 LIB_DEPENDS=    gsl:${PORTSDIR}/math/gsl
21
22 MAKE_JOBS_UNSAFE=       yes
23
24 USE_DOS2UNIX=   yes
25 GNU_CONFIGURE=  yes
26 CPPFLAGS+=      -I${LOCALBASE}/include
27 LDFLAGS+=       -L${LOCALBASE}/lib
28 USE_LDCONFIG=   yes
29 MAN1=           dieharder.1
30 MAN3=           libdieharder.3
31
32 .include <bsd.port.pre.mk>
33
34 .if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
35 BROKEN=         Does not compile on ia64 or sparc64
36 .endif
37
38 check test: build
39         ${WRKSRC}/dieharder/dieharder -a
40
41 .include <bsd.port.post.mk>