diff --git a/www/p5-Web-Machine/DESCR b/www/p5-Web-Machine/DESCR new file mode 100644 index 000000000000..d690c3e31ad8 --- /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 000000000000..ce52fd585aa0 --- /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 000000000000..5cbc4e882d44 --- /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