summaryrefslogtreecommitdiff
path: root/net/p5-RPC-XML/Makefile
blob: 77cd07d5e4f63e5b68800926ba3700954d91230d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.20 2015/06/12 10:50:50 wiz Exp $

DISTNAME=	RPC-XML-0.79
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	net www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=RPC/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.blackperl.com/RPC::XML/
#HOMEPAGE=	http://search.cpan.org/dist/RPC-XML/
COMMENT=	XML-RPC client and server library for Perl
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	{perl>=5.10,p5-PathTools>=0.8}:../../devel/p5-PathTools
DEPENDS+=	{perl>=5.10,p5-Scalar-List-Utils>=1.19}:../../devel/p5-Scalar-List-Utils
#DEPENDS+=	p5-Module-Load>=0.24:../../devel/p5-Module-Load
# if Net::Server exists, t/60 may fail due to more test items
# t/60_net_server.t ............... skipped: Net::Server not available
#EPENDS+=	p5-Net-Server-[0-9]*:../../net/p5-Net-Server
DEPENDS+=	p5-XML-LibXML>=1.85:../../textproc/p5-XML-LibXML
DEPENDS+=	p5-XML-Parser>=2.31:../../textproc/p5-XML-Parser
DEPENDS+=	p5-libwww>=5.834:../../www/p5-libwww
DEPENDS+=	p5-DateTime>=0.70:../../time/p5-DateTime
DEPENDS+=	p5-DateTime-Format-ISO8601>=0.07:../../time/p5-DateTime-Format-ISO8601
DEPENDS+=	p5-Compress-Raw-Zlib>=2.063:../../devel/p5-Compress-Raw-Zlib

USE_TOOLS+=		gmake
USE_LANGUAGES=		# empty

SUBST_CLASSES+=		usebase
SUBST_STAGE.usebase=	post-patch
SUBST_FILES.usebase=	lib/RPC/XML.pm
SUBST_SED.usebase=	-e "s|^use base 'RPC::XML::|use parent -norequire, 'RPC::XML::|g"

PERL5_PACKLIST=		auto/RPC/XML/.packlist

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"