# New ports collection makefile for:	p5-Math-Random-OO
# Date created:		2006-07-23
# Whom:			Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
#
# $FreeBSD: ports/math/p5-Math-Random-OO/Makefile,v 1.1 2006/07/25 20:59:17 ehaupt Exp $
#

PORTNAME=	Math-Random-OO
PORTVERSION=	0.19
CATEGORIES=	math perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Math
PKGNAMEPREFIX=	p5-

MAINTAINER=	tjs@cdpa.nsysu.edu.tw
COMMENT=	Consistent object-oriented interface for generating random numbers

BUILD_DEPENDS=	p5-Test-MockRandom>=0.95:${PORTSDIR}/devel/p5-Test-MockRandom \
		p5-Test-Number-Delta>=0.14:${PORTSDIR}/devel/p5-Test-Number-Delta
RUN_DEPENDS=	p5-Class-Accessor>=0.18:${PORTSDIR}/devel/p5-Class-Accessor \
		p5-Params-Validate>=0.76:${PORTSDIR}/devel/p5-Params-Validate

PERL_CONFIGURE=	yes

MAN3=	Math::Random::OO.3 \
	Math::Random::OO::Bootstrap.3 \
	Math::Random::OO::Normal.3 \
	Math::Random::OO::Uniform.3 \
	Math::Random::OO::UniformInt.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=	requires perl 5.6 or later. Please install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>
