aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-JSON-RPC/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-22 15:47:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-22 15:47:01 +0000
commit3802ca429e71b7d8527f57cdd2b333a600c825f2 (patch)
tree96d86736631acc6557418f7b3d8c5a144c4b8e16 /devel/p5-JSON-RPC/Makefile
parent856803ba1af09e8c6ce620e38dd90d347e2cd585 (diff)
downloadports-3802ca429e71b7d8527f57cdd2b333a600c825f2.tar.gz
ports-3802ca429e71b7d8527f57cdd2b333a600c825f2.zip
Notes
Diffstat (limited to 'devel/p5-JSON-RPC/Makefile')
-rw-r--r--devel/p5-JSON-RPC/Makefile38
1 files changed, 30 insertions, 8 deletions
diff --git a/devel/p5-JSON-RPC/Makefile b/devel/p5-JSON-RPC/Makefile
index f63918a327b9..96da4f47e1ce 100644
--- a/devel/p5-JSON-RPC/Makefile
+++ b/devel/p5-JSON-RPC/Makefile
@@ -6,22 +6,44 @@
#
PORTNAME= JSON-RPC
-PORTVERSION= 0.96
-PORTREVISION= 1
+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
-RUN_DEPENDS= p5-JSON>=2.0:${PORTSDIR}/converters/p5-JSON \
+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
+PERL_CONFIGURE= yes
-MAN3= JSON::RPC.3 JSON::RPC::Server.3 JSON::RPC::Client.3 \
- JSON::RPC::Procedure.3 JSON::RPC::Server::CGI.3 JSONRPC.3 \
- JSON::RPC::Server::Daemon.3 JSON::RPC::Server::Apache2.3
+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.mk>
+.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
+
+.include <bsd.port.post.mk>