Import math/dieharder version 3.31.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: ports/math/dieharder/Makefile,v 1.23 2012/11/17 05:59:20 svnexp Exp $
6 #
7
8 PORTNAME=       dieharder
9 PORTVERSION=    3.31.1
10 CATEGORIES=     math
11 MASTER_SITES=   http://www.phy.duke.edu/~rgb/General/dieharder/ LOCAL/bf
12 EXTRACT_SUFX=   .tgz
13
14 MAINTAINER=     bf@FreeBSD.org
15 COMMENT=        A random number generator testsuite
16
17 LICENSE=        GPLv2
18
19 LIB_DEPENDS=    gsl:${PORTSDIR}/math/gsl
20
21 MAKE_JOBS_UNSAFE=       yes
22
23 USE_DOS2UNIX=   yes
24 GNU_CONFIGURE=  yes
25 CPPFLAGS+=      -I${LOCALBASE}/include
26 LDFLAGS+=       -L${LOCALBASE}/lib
27 USE_LDCONFIG=   yes
28 MAN1=           dieharder.1
29 MAN3=           libdieharder.3
30
31 .include <bsd.port.pre.mk>
32
33 .if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
34 BROKEN=         Does not compile on ia64 or sparc64
35 .endif
36
37 check test: build
38         ${WRKSRC}/dieharder/dieharder -a
39
40 .include <bsd.port.post.mk>