summaryrefslogtreecommitdiff
path: root/www/p5-JSON-RPC
diff options
context:
space:
mode:
authortonnerre <tonnerre>2013-10-20 14:08:07 +0000
committertonnerre <tonnerre>2013-10-20 14:08:07 +0000
commitea2af3fadc8d806f77422d14f6905b35baf5e485 (patch)
treeebb1a4f608506e7e044226afe35d00da4989b243 /www/p5-JSON-RPC
parent546fefef40df731cb65230c4a1eec0ff8439d1d4 (diff)
downloadpkgsrc-ea2af3fadc8d806f77422d14f6905b35baf5e485.tar.gz
Import the JSON-RPC Perl module, version 1.03, into pkgsrc.
JSON::RPC is a stateless RPC protocol which uses JSON over HTTP. All request and response data is transferred as JSON.
Diffstat (limited to 'www/p5-JSON-RPC')
-rw-r--r--www/p5-JSON-RPC/DESCR2
-rw-r--r--www/p5-JSON-RPC/Makefile29
-rw-r--r--www/p5-JSON-RPC/distinfo5
3 files changed, 36 insertions, 0 deletions
diff --git a/www/p5-JSON-RPC/DESCR b/www/p5-JSON-RPC/DESCR
new file mode 100644
index 00000000000..310001a6545
--- /dev/null
+++ b/www/p5-JSON-RPC/DESCR
@@ -0,0 +1,2 @@
+JSON::RPC is a stateless RPC protocol which uses JSON over HTTP. All request
+and response data is transferred as JSON.
diff --git a/www/p5-JSON-RPC/Makefile b/www/p5-JSON-RPC/Makefile
new file mode 100644
index 00000000000..ba048dc418a
--- /dev/null
+++ b/www/p5-JSON-RPC/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2013/10/20 14:08:07 tonnerre Exp $
+#
+
+DISTNAME= JSON-RPC-1.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=JSON/}
+
+MAINTAINER= pkgsrc-p5-people@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/JSON-RPC/
+COMMENT= JSON RPC 2.0 Server implementation for Perl
+LICENSE= ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+USE_TOOLS+= perl:run
+
+DEPENDS+= p5-Class-Accessor-Lite-[0-9]*:../../devel/p5-Class-Accessor-Lite
+DEPENDS+= p5-HTTP-Daemon-[0-9]*:../../www/p5-HTTP-Daemon
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-JSON-[0-9]*:../../converters/p5-JSON
+DEPENDS+= p5-Plack-[0-9]*:../../www/p5-Plack
+DEPENDS+= p5-Router-Simple-[0-9]*:../../www/p5-Router-Simple
+DEPENDS+= p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS
+
+PERL5_PACKLIST= auto/JSON/RPC/.packlist
+PERL5_MODULE_TYPE= Module::Install::Bundled
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-JSON-RPC/distinfo b/www/p5-JSON-RPC/distinfo
new file mode 100644
index 00000000000..6a7655f0044
--- /dev/null
+++ b/www/p5-JSON-RPC/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2013/10/20 14:08:07 tonnerre Exp $
+
+SHA1 (JSON-RPC-1.03.tar.gz) = 543ec9e674c28612f420bd71847e97dd7270fcfe
+RMD160 (JSON-RPC-1.03.tar.gz) = 26df14729722b9ee947b2089fb3f96f03fc252c1
+Size (JSON-RPC-1.03.tar.gz) = 37495 bytes