Import of p5-Web-Machine-0.17; ok ajacoutot@
This commit is contained in:
parent
2850e2ff2c
commit
afd7ccb46d
21
www/p5-Web-Machine/Makefile
Normal file
21
www/p5-Web-Machine/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2021/01/18 13:37:32 robert Exp $
|
||||
|
||||
COMMENT = perl port of Webmachine
|
||||
|
||||
DISTNAME = Web-Machine-0.17
|
||||
|
||||
CATEGORIES = www
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = cpan
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
RUN_DEPENDS = devel/p5-IO-Handle-Util \
|
||||
www/p5-HTTP-Headers-ActionPack
|
||||
TEST_DEPENDS = devel/p5-Test-FailWarnings \
|
||||
converters/p5-Cpanel-JSON-XS
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/p5-Web-Machine/distinfo
Normal file
2
www/p5-Web-Machine/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Web-Machine-0.17.tar.gz) = 8TnSsxFMVJ6RhH2qq4t1y2meV9r1u/Db0TKT8z/l4io=
|
||||
SIZE (Web-Machine-0.17.tar.gz) = 73528
|
10
www/p5-Web-Machine/pkg/DESCR
Normal file
10
www/p5-Web-Machine/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
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.
|
||||
|
||||
Web::Machine is built on top of Plack, but it handles the full request and
|
||||
response cycle.
|
27
www/p5-Web-Machine/pkg/PLIST
Normal file
27
www/p5-Web-Machine/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/01/18 13:37:32 robert Exp $
|
||||
@conflict p5-libwww-<6.0
|
||||
${P5SITE}/Web/
|
||||
${P5SITE}/Web/Machine/
|
||||
${P5SITE}/Web/Machine.pm
|
||||
${P5SITE}/Web/Machine/FSM/
|
||||
${P5SITE}/Web/Machine/FSM.pm
|
||||
${P5SITE}/Web/Machine/FSM/States.pm
|
||||
${P5SITE}/Web/Machine/I18N/
|
||||
${P5SITE}/Web/Machine/I18N.pm
|
||||
${P5SITE}/Web/Machine/I18N/en.pm
|
||||
${P5SITE}/Web/Machine/Manual.pod
|
||||
${P5SITE}/Web/Machine/Resource.pm
|
||||
${P5SITE}/Web/Machine/Util/
|
||||
${P5SITE}/Web/Machine/Util.pm
|
||||
${P5SITE}/Web/Machine/Util/BodyEncoding.pm
|
||||
${P5SITE}/Web/Machine/Util/ContentNegotiation.pm
|
||||
@man man/man3p/Web::Machine.3p
|
||||
@man man/man3p/Web::Machine::FSM.3p
|
||||
@man man/man3p/Web::Machine::FSM::States.3p
|
||||
@man man/man3p/Web::Machine::I18N.3p
|
||||
@man man/man3p/Web::Machine::I18N::en.3p
|
||||
@man man/man3p/Web::Machine::Manual.3p
|
||||
@man man/man3p/Web::Machine::Resource.3p
|
||||
@man man/man3p/Web::Machine::Util.3p
|
||||
@man man/man3p/Web::Machine::Util::BodyEncoding.3p
|
||||
@man man/man3p/Web::Machine::Util::ContentNegotiation.3p
|
Loading…
x
Reference in New Issue
Block a user