# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD: branches/RELENG_9_2_0/devel/p5-JSON-Path/Makefile 324174 2013-08-02 18:52:07Z mat $

PORTNAME=	JSON-Path
PORTVERSION=	0.204
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Search nested hashref/arrayref structures using JSONPath

BUILD_DEPENDS=	p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
    		p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
		p5-Lvalue>=0:${PORTSDIR}/devel/p5-Lvalue
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure

MAN3=		JSON::Path.3

post-patch::
	@${RM} ${WRKSRC}/lib/JSON/Path.pm.orig

.include <bsd.port.mk>
