summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2022-05-31 20:44:36 +0000
committermarkd <markd@pkgsrc.org>2022-05-31 20:44:36 +0000
commitea452718e9e49af774d4fb717a6e88642f2aaa83 (patch)
tree5455ea35467d70c14bad6c82de2bcc1c910a30df /www
parent3a48706973f2641ccc8e4d5ae741564d758b732a (diff)
downloadpkgsrc-ea452718e9e49af774d4fb717a6e88642f2aaa83.tar.gz
p5-Web-Machine: add version 0.17
Web::Machine provides a RESTful web framework modeled as a state machine. You define one or more resource classes. Each resource represents a single RESTful URI end point, such as a user, an email, etc. The resource class can also be the target for POST requests to create a new user, email, etc. Each resource is a state machine, and each request for a resource is handled by running the request through that state machine.
Diffstat (limited to 'www')
-rw-r--r--www/p5-Web-Machine/DESCR7
-rw-r--r--www/p5-Web-Machine/Makefile21
-rw-r--r--www/p5-Web-Machine/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/www/p5-Web-Machine/DESCR b/www/p5-Web-Machine/DESCR
new file mode 100644
index 00000000000..d690c3e31ad
--- /dev/null
+++ b/www/p5-Web-Machine/DESCR
@@ -0,0 +1,7 @@
+Web::Machine provides a RESTful web framework modeled as a state machine.
+You define one or more resource classes. Each resource represents a single
+RESTful URI end point, such as a user, an email, etc. The resource class
+can also be the target for POST requests to create a new user, email, etc.
+
+Each resource is a state machine, and each request for a resource is handled
+by running the request through that state machine.
diff --git a/www/p5-Web-Machine/Makefile b/www/p5-Web-Machine/Makefile
new file mode 100644
index 00000000000..ce52fd585aa
--- /dev/null
+++ b/www/p5-Web-Machine/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/05/31 20:44:36 markd Exp $
+
+DISTNAME= Web-Machine-0.17
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DR/DROLSKY/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://metacpan.org/release/Web-Machine
+COMMENT= Perl port of Webmachine
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Plack-[0-9]*:../../www/p5-Plack
+DEPENDS+= p5-HTTP-Headers-ActionPack-[0-9]*:../../www/p5-HTTP-Headers-ActionPack
+DEPENDS+= p5-IO-Handle-Util-[0-9]*:../../devel/p5-IO-Handle-Util
+DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils
+
+PERL5_PACKLIST= auto/Web/Machine/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Web-Machine/distinfo b/www/p5-Web-Machine/distinfo
new file mode 100644
index 00000000000..5cbc4e882d4
--- /dev/null
+++ b/www/p5-Web-Machine/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/31 20:44:36 markd Exp $
+
+BLAKE2s (Web-Machine-0.17.tar.gz) = 80f5fdb12845eb8849bc6f1a58586c17266b0f860b3c06217fdde5ec3c7d00ca
+SHA512 (Web-Machine-0.17.tar.gz) = be05338cba3a46b16d508518c9c4b67f88b1cd979a4354668b53898f6e03e40e1fd59ab46850668f2bb75d3927f07790d68cf57a1d7aabaa0ed9181c2db56410
+Size (Web-Machine-0.17.tar.gz) = 73528 bytes