# $MidnightBSD: trunk/net/p5-RPC-XML/Makefile 19524 2015-06-25 01:37:15Z laffer1 $

PORTNAME=	RPC-XML
PORTVERSION=	0.79
CATEGORIES=	net www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	XML-RPC client and server library for Perl

LICENSE=	artistic2 lgpl2.1
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-XML-Parser>=2.31:${PORTSDIR}/textproc/p5-XML-Parser \
		p5-libwww>=5.834:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-DateTime-Format-ISO8601>=0.07:${PORTSDIR}/devel/p5-DateTime-Format-ISO8601

USES=		gmake perl5
PERL_CONFIGURE=	yes

OPTIONS_DEFINE=	XS

XS_BUILD_DEPENDS=	p5-XML-LibXML>=1.85:${PORTSDIR}/textproc/p5-XML-LibXML
XS_RUN_DEPENDS=		${XS_BUILD_DEPENDS}

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501905
TEST_DEPENDS+=	p5-Scalar-List-Utils>=1.33:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

.include <bsd.port.post.mk>
