svn commit: r376368 - in head: devel devel/p5-Brannigan www www/p5-McBain www/p5-McBain-WithPSGI
Adam Weinberger
adamw at FreeBSD.org
Mon Jan 5 23:00:10 UTC 2015
Author: adamw
Date: Mon Jan 5 23:00:05 2015
New Revision: 376368
URL: https://svnweb.freebsd.org/changeset/ports/376368
QAT: https://qat.redports.org/buildarchive/r376368/
Log:
Add the McBain web framework system, including p5-Brannigan (a text validation and parsing system),
p5-McBain (an API-driven self-documenting web framework), and p5-McBain-WithPSGI, a Plack/PSGI adapter for McBain.
See:
https://metacpan.org/pod/Brannigan
https://metacpan.org/pod/McBain
https://metacpan.org/pod/McBain-WithPSGI
Added:
head/devel/p5-Brannigan/
head/devel/p5-Brannigan/Makefile (contents, props changed)
head/devel/p5-Brannigan/distinfo (contents, props changed)
head/devel/p5-Brannigan/pkg-descr (contents, props changed)
head/devel/p5-Brannigan/pkg-plist (contents, props changed)
head/www/p5-McBain/
head/www/p5-McBain-WithPSGI/
head/www/p5-McBain-WithPSGI/Makefile (contents, props changed)
head/www/p5-McBain-WithPSGI/distinfo (contents, props changed)
head/www/p5-McBain-WithPSGI/pkg-descr (contents, props changed)
head/www/p5-McBain-WithPSGI/pkg-plist (contents, props changed)
head/www/p5-McBain/Makefile (contents, props changed)
head/www/p5-McBain/distinfo (contents, props changed)
head/www/p5-McBain/pkg-descr (contents, props changed)
head/www/p5-McBain/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
head/www/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Jan 5 22:50:28 2015 (r376367)
+++ head/devel/Makefile Mon Jan 5 23:00:05 2015 (r376368)
@@ -1525,6 +1525,7 @@
SUBDIR += p5-Badger
SUBDIR += p5-Benchmark-Timer
SUBDIR += p5-Best
+ SUBDIR += p5-Brannigan
SUBDIR += p5-Bread-Board
SUBDIR += p5-Bread-Board-Declare
SUBDIR += p5-Bundle-Perl6
Added: head/devel/p5-Brannigan/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Brannigan/Makefile Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,20 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Brannigan
+PORTVERSION= 1.1
+CATEGORIES= devel www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:IDOPEREL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= adamw at FreeBSD.org
+COMMENT= Comprehensive, flexible system for validating and parsing input
+
+LICENSE= GPLv1 ART20
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/devel/p5-Brannigan/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Brannigan/distinfo Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,2 @@
+SHA256 (Brannigan-1.1.tar.gz) = 3902ae7f7de0a46efe45fa9134067e09da135c2700a143ddac9aaaf5561ee409
+SIZE (Brannigan-1.1.tar.gz) = 49365
Added: head/devel/p5-Brannigan/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Brannigan/pkg-descr Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,13 @@
+Brannigan is an attempt to ease the pain of collecting, validating and parsing
+input parameters in web applications. It's designed to answer both of the main
+problems that web applications face:
+
+* Simple user input
+ Brannigan can validate and parse simple, "flat", user input, possibly
+ coming from web forms.
+
+Complex data structures
+ Brannigan can validate and parse complex data structures, possibly
+ deserialized from JSON or XML data sent to web services and APIs.
+
+WWW: https://metacpan.org/pod/Brannigan
Added: head/devel/p5-Brannigan/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Brannigan/pkg-plist Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Brannigan.pm
+%%SITE_PERL%%/Brannigan/Examples.pod
+%%SITE_PERL%%/Brannigan/Tree.pm
+%%SITE_PERL%%/Brannigan/Validations.pm
+%%PERL5_MAN3%%/Brannigan.3.gz
+%%PERL5_MAN3%%/Brannigan::Examples.3.gz
+%%PERL5_MAN3%%/Brannigan::Tree.3.gz
+%%PERL5_MAN3%%/Brannigan::Validations.3.gz
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Mon Jan 5 22:50:28 2015 (r376367)
+++ head/www/Makefile Mon Jan 5 23:00:05 2015 (r376368)
@@ -1035,6 +1035,8 @@
SUBDIR += p5-Maypole
SUBDIR += p5-Maypole-Authentication-UserSessionCookie
SUBDIR += p5-Maypole-Component
+ SUBDIR += p5-McBain
+ SUBDIR += p5-McBain-WithPSGI
SUBDIR += p5-MediaWiki
SUBDIR += p5-MediaWiki-API
SUBDIR += p5-Mobile-UserAgent
Added: head/www/p5-McBain-WithPSGI/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain-WithPSGI/Makefile Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,24 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= McBain-WithPSGI
+PORTVERSION= 2.001001
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:IDOPEREL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= adamw at FreeBSD.org
+COMMENT= Load a McBain API as a RESTful PSGI web service
+
+LICENSE= GPLv1 PERLART10
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-McBain>=0:${PORTSDIR}/www/p5-McBain \
+ p5-JSON-MaybeXS>=0:${PORTSDIR}/converters/p5-JSON-MaybeXS \
+ p5-Plack>=1.0029:${PORTSDIR}/www/p5-Plack
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/www/p5-McBain-WithPSGI/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain-WithPSGI/distinfo Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,2 @@
+SHA256 (McBain-WithPSGI-2.001001.tar.gz) = f128996da4f86a71732ed3db22a91be7a7a1fb395650d80660cec9b1f167b5da
+SIZE (McBain-WithPSGI-2.001001.tar.gz) = 17440
Added: head/www/p5-McBain-WithPSGI/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain-WithPSGI/pkg-descr Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,9 @@
+McBain::WithPSGI turns your McBain API into a RESTful PSGI web service based on
+Plack, thus making McBain a web application framework.
+
+The created web service will be a JSON-in JSON-out service. Requests to your
+application are expected to have a Content-Type of application/json;
+charset=UTF-8. The JSON body of a request will be the payload. The results of
+the API will be formatted into JSON as well.
+
+WWW: https://metacpan.org/pod/McBain::WithPSGI
Added: head/www/p5-McBain-WithPSGI/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain-WithPSGI/pkg-plist Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/McBain/WithPSGI.pm
+%%PERL5_MAN3%%/McBain::WithPSGI.3.gz
Added: head/www/p5-McBain/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain/Makefile Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,24 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= McBain
+PORTVERSION= 2.001000
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:IDOPEREL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= adamw at FreeBSD.org
+COMMENT= Lightweight auto-validating, self-documenting web framework
+
+LICENSE= GPLv1 PERLART10
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Brannigan>=0:${PORTSDIR}/devel/p5-Brannigan \
+ p5-Getopt-Compact>=0:${PORTSDIR}/devel/p5-Getopt-Compact \
+ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/www/p5-McBain/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain/distinfo Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,2 @@
+SHA256 (McBain-2.001000.tar.gz) = ebc7d2cc5a30f1856bfafe60addf46a39c5372dc9acac244ae602e3f39a93bc6
+SIZE (McBain-2.001000.tar.gz) = 37495
Added: head/www/p5-McBain/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain/pkg-descr Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,10 @@
+McBain is a framework for building powerful APIs and applications. Writing an
+API with McBain provides the following benefits:
+
+* Lightweight-ness
+* Portability
+* Auto-validation
+* Self-documentation
+* Modularity and flexibility
+
+WWW: https://metacpan.org/pod/McBain
Added: head/www/p5-McBain/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-McBain/pkg-plist Mon Jan 5 23:00:05 2015 (r376368)
@@ -0,0 +1,6 @@
+bin/mcbain2pod
+%%SITE_PERL%%/McBain.pm
+%%SITE_PERL%%/McBain/Directly.pm
+%%PERL5_MAN3%%/McBain.3.gz
+%%PERL5_MAN3%%/McBain::Directly.3.gz
+man/man1/mcbain2pod.1.gz
More information about the svn-ports-head
mailing list