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. PR: 248041
21 lines
401 B
Makefile
21 lines
401 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Web-Machine
|
|
PORTVERSION= 0.17
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= mikael@FreeBSD.org
|
|
COMMENT= Perl port of Webmachine
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
RUN_DEPENDS= p5-HTTP-Headers-ActionPack>0:www/p5-HTTP-Headers-ActionPack \
|
|
p5-IO-Handle-Util>0:devel/p5-IO-Handle-Util
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.mk>
|