forked from Lainports/freebsd-ports
This module contains two plugins for Dancer: Dancer::Plugin::RPC::XMLRPC and Dancer::Plugin::RPC::JSONRPC. They are plugins rather than Plack::Middleware. Dancer::Plugin::RPC::XMLRPC This plugin exposes the new keyword "xmlrpc" that is followed by 2 arguments: the endpoint and the arguments to configure the xmlrpc-calls at this endpoint. Dancer::Plugin::RPC::JSONRPC This plugin exposes the new keyword "jsonrpc" that is followed by 2 arguments: the endpoint and the arguments to configure the jsonrpc-calls at this endpoint. See the /t dir for examples (until some tutorial exists) WWW: https://metacpan.org/pod/Dancer::Plugin::RPC PR: 209597 Submitted by: Henk van Oers <hvo.pm@xs4all.nl>
29 lines
677 B
Makefile
29 lines
677 B
Makefile
# Created by: Henk van Oers <hvo.pm@xs4all.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Dancer-Plugin-RPC
|
|
PORTVERSION= 1.00
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:ABELTJE
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= hvo.pm@xs4all.nl
|
|
COMMENT= Configure endpoints for XML and/or JSON RPC routes
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
RUN_DEPENDS= \
|
|
p5-Dancer>=1.3202:www/p5-Dancer \
|
|
p5-Plack>=1.0002:www/p5-Plack \
|
|
p5-Params-Validate>=1.0:devel/p5-Params-Validate \
|
|
p5-JSON>=2.0:converters/p5-JSON \
|
|
p5-RPC-XML>=0.79:net/p5-RPC-XML
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
TEST_DEPENDS=p5-Test-Fatal>0.010:devel/p5-Test-Fatal
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.mk>
|