# New ports collection makefile for:	p5-Config-JSON
# Date created:		2008-07-31
# Whom:			Tomoyuki Sakurai <cherry@trombik.org>
#
# $FreeBSD: ports/devel/p5-Config-JSON/Makefile,v 1.6 2009/12/25 00:33:23 kuriyama Exp $
#

PORTNAME=	Config-JSON
PORTVERSION=	1.5000
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	A JSON based config file system

RUN_DEPENDS=    p5-Class-InsideOut>=1.06:${PORTSDIR}/devel/p5-Class-InsideOut \
		p5-JSON>=2.12:${PORTSDIR}/converters/p5-JSON \
		p5-Moose>=0.93:${PORTSDIR}/devel/p5-Moose
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE=	Yes
MAN3=		Config::JSON.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500905
RUN_DEPENDS+=	p5-version>=0.72.03:${PORTSDIR}/devel/p5-version
.endif

.include <bsd.port.post.mk>
