freebsd-ports/devel/p5-JSON-RPC/Makefile
Philip M. Gollucci b59621d3ae - Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
2012-03-13 16:15:36 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: p5-JSON-RPC
# Date created: 29 Mar 2009
# Whom: Vadim Vatlin
#
# $FreeBSD$
#
PORTNAME= JSON-RPC
PORTVERSION= 1.01
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DMAKI
PKGNAMEPREFIX= p5-
MAINTAINER= vvatlin@masterhost.ru
COMMENT= Perl implementation of JSON-RPC 1.1 protocol
BUILD_DEPENDS= p5-Class-Accessor-Lite>=0:${PORTSDIR}/devel/p5-Class-Accessor-Lite \
p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \
p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
p5-Router-Simple>=0:${PORTSDIR}/www/p5-Router-Simple \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= JSON::RPC.3 \
JSON::RPC::Constants.3 \
JSON::RPC::Dispatch.3 \
JSON::RPC::Legacy.3 \
JSON::RPC::Legacy::Client.3 \
JSON::RPC::Legacy::Procedure.3 \
JSON::RPC::Legacy::Server.3 \
JSON::RPC::Legacy::Server::Apache2.3 \
JSON::RPC::Legacy::Server::CGI.3 \
JSON::RPC::Legacy::Server::Daemon.3 \
JSON::RPC::Parser.3 \
JSON::RPC::Procedure.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
.endif
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>