Adding port net/p5-REST-Application, a framework for RESTful web-applications.

This commit is contained in:
Aaron Dalton 2007-06-04 03:54:37 +00:00
parent d1366631f4
commit 451c555931
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192650
5 changed files with 46 additions and 0 deletions

View File

@ -548,6 +548,7 @@
SUBDIR += p5-Parallel-MPI
SUBDIR += p5-Parallel-Pvm
SUBDIR += p5-PlRPC
SUBDIR += p5-REST-Application
SUBDIR += p5-RPC-Simple
SUBDIR += p5-RPC-XML
SUBDIR += p5-RRD-Simple

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-REST-Application
# Date created: 04 June 2007
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= REST-Application
PORTVERSION= 0.991
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/M/MO/MOCONNOR/
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= A framework for building RESTful web-applications
BUILD_DEPENDS= p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3= REST::Application.3 \
REST::Application::Routes.3
PERL_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (REST-Application-0.991.tar.gz) = eaea5eacc43efab0e70059f691e0d5d6
SHA256 (REST-Application-0.991.tar.gz) = a1dc1cbe5b244a1eb1ebbb26f43787bd525dd8cf786f9656532f6af004a0a99b
SIZE (REST-Application-0.991.tar.gz) = 25976

View File

@ -0,0 +1,9 @@
This module acts as a base class for applications which implement a
RESTful interface. When an HTTP request is received some dispatching logic
in REST::Application is invoked, calling different handlers based on what
the kind of HTTP request it was (i.e. GET, PUT, etc) and what resource it
was trying to access. This module won't ensure that your API is RESTful
but hopefully it will aid in developing a REST API.
WWW: http://search.cpan.org/dist/REST-Application
Author: Matthew O'Connor <matthew@canonical.org>

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/REST/Application.pm
%%SITE_PERL%%/REST/Application/Routes.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/REST/Application/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/REST/Application
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/REST
@dirrm %%SITE_PERL%%/REST/Application
@dirrm %%SITE_PERL%%/REST