mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
JSON::RPC::Dispatcher can make any PSGI/Plack aware server a
JSON-RPC 2.0 server. This will allow you to expose your custom functionality as a web service in a relatiely tiny amount of code, as you can see above. This module follows the draft specficiation for JSON-RPC 2.0. More information can be found at: http://groups.google.com/group/json-rpc/web/json-rpc-2-0. WWW: http://search.cpan.org/dist/JSON-RPC-Dispatcher/
This commit is contained in:
parent
39a0db1315
commit
694ede403d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252982
@ -1695,6 +1695,7 @@
|
||||
SUBDIR += p5-JQuery
|
||||
SUBDIR += p5-JSON-RPC
|
||||
SUBDIR += p5-JSON-RPC-Common
|
||||
SUBDIR += p5-JSON-RPC-Dispatcher
|
||||
SUBDIR += p5-Java
|
||||
SUBDIR += p5-Lexical-Alias
|
||||
SUBDIR += p5-Lexical-Persistence
|
||||
|
29
devel/p5-JSON-RPC-Dispatcher/Makefile
Normal file
29
devel/p5-JSON-RPC-Dispatcher/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: p5-JSON-RPC-Dispatcher
|
||||
# Date created: 21 April, 2010
|
||||
# Whom: Wen Heping <wenheping@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= JSON-RPC-Dispatcher
|
||||
PORTVERSION= 0.0402
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
COMMENT= A JSON-RPC 2.0 server
|
||||
|
||||
BUILD_DEPENDS= p5-JSON>=2.16:${PORTSDIR}/converters/p5-JSON \
|
||||
p5-Log-Any>=0.11:${PORTSDIR}/devel/p5-Log-Any \
|
||||
p5-Moose>=0.93:${PORTSDIR}/devel/p5-Moose \
|
||||
p5-Plack>=0.9913:${PORTSDIR}/www/p5-Plack
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= YES
|
||||
|
||||
MAN3= JSON::RPC::Dispatcher.3 \
|
||||
JSON::RPC::Dispatcher::App.3 \
|
||||
JSON::RPC::Dispatcher::Procedure.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-JSON-RPC-Dispatcher/distinfo
Normal file
3
devel/p5-JSON-RPC-Dispatcher/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (JSON-RPC-Dispatcher-0.0402.tar.gz) = 29356410bc52f26d5e0a891b81a93680
|
||||
SHA256 (JSON-RPC-Dispatcher-0.0402.tar.gz) = fddbf45d19ebd86574be54d03befaf00b53ef1dfd7b6319c7fa4ce147b04e264
|
||||
SIZE (JSON-RPC-Dispatcher-0.0402.tar.gz) = 15028
|
10
devel/p5-JSON-RPC-Dispatcher/pkg-descr
Normal file
10
devel/p5-JSON-RPC-Dispatcher/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
JSON::RPC::Dispatcher can make any PSGI/Plack aware server a
|
||||
JSON-RPC 2.0 server. This will allow you to expose your custom
|
||||
functionality as a web service in a relatiely tiny amount of
|
||||
code, as you can see above.
|
||||
|
||||
This module follows the draft specficiation for JSON-RPC 2.0.
|
||||
More information can be found at:
|
||||
http://groups.google.com/group/json-rpc/web/json-rpc-2-0.
|
||||
|
||||
WWW: http://search.cpan.org/dist/JSON-RPC-Dispatcher/
|
10
devel/p5-JSON-RPC-Dispatcher/pkg-plist
Normal file
10
devel/p5-JSON-RPC-Dispatcher/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/RPC/Dispatcher/.packlist
|
||||
%%SITE_PERL%%/JSON/RPC/Dispatcher.pm
|
||||
%%SITE_PERL%%/JSON/RPC/Dispatcher/App.pm
|
||||
%%SITE_PERL%%/JSON/RPC/Dispatcher/Procedure.pm
|
||||
@dirrm %%SITE_PERL%%/JSON/RPC/Dispatcher
|
||||
@dirrmtry %%SITE_PERL%%/JSON/RPC
|
||||
@dirrmtry %%SITE_PERL%%/JSON
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/RPC/Dispatcher
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/RPC
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON
|
Loading…
Reference in New Issue
Block a user