diff options
author | tobez <tobez@FreeBSD.org> | 2006-04-20 22:45:21 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2006-04-20 22:45:21 +0800 |
commit | 0ca20203985c64ecc917c162e69fcb3e3e533ffd (patch) | |
tree | 82fc66fe0b2573eda1db754c45513a3cc1be2f0e /www | |
parent | 48370bb03e8d676b136c6963e27b1990c4ee1984 (diff) | |
download | freebsd-ports-gnome-0ca20203985c64ecc917c162e69fcb3e3e533ffd.tar.gz freebsd-ports-gnome-0ca20203985c64ecc917c162e69fcb3e3e533ffd.tar.zst freebsd-ports-gnome-0ca20203985c64ecc917c162e69fcb3e3e533ffd.zip |
Add www/p5-CGI-Prototype 0.9053, a yet another CGI application building
framework.
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-CGI-Prototype/Makefile | 33 | ||||
-rw-r--r-- | www/p5-CGI-Prototype/distinfo | 3 | ||||
-rw-r--r-- | www/p5-CGI-Prototype/pkg-descr | 12 | ||||
-rw-r--r-- | www/p5-CGI-Prototype/pkg-plist | 7 |
5 files changed, 56 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 06d5ebd93d22..168c50f0d398 100644 --- a/www/Makefile +++ b/www/Makefile @@ -486,6 +486,7 @@ SUBDIR += p5-CGI-Framework SUBDIR += p5-CGI-Kwiki SUBDIR += p5-CGI-Minimal + SUBDIR += p5-CGI-Prototype SUBDIR += p5-CGI-Response SUBDIR += p5-CGI-SSI SUBDIR += p5-CGI-Session diff --git a/www/p5-CGI-Prototype/Makefile b/www/p5-CGI-Prototype/Makefile new file mode 100644 index 000000000000..2285da02d5e5 --- /dev/null +++ b/www/p5-CGI-Prototype/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: www/p5-CGI-Prototype +# Date created: 20 April 2006 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= CGI-Prototype +PORTVERSION= 0.9053 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= CGI +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Create a CGI application by subclassing + +BUILD_DEPENDS= ${SITE_PERL}/Class/Prototyped.pm:${PORTSDIR}/devel/p5-Class-Prototyped \ + ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= CGI::Prototype.3 \ + CGI::Prototype::Hidden.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-CGI-Prototype/distinfo b/www/p5-CGI-Prototype/distinfo new file mode 100644 index 000000000000..9a5eb6454db7 --- /dev/null +++ b/www/p5-CGI-Prototype/distinfo @@ -0,0 +1,3 @@ +MD5 (CGI-Prototype-0.9053.tar.gz) = 0d09d6fcf9616789ca2efbefbc7ed401 +SHA256 (CGI-Prototype-0.9053.tar.gz) = c69c737131169c1390f4d123ad677ded4bb78ad1dbe26bf767af77a07e399aa6 +SIZE (CGI-Prototype-0.9053.tar.gz) = 13618 diff --git a/www/p5-CGI-Prototype/pkg-descr b/www/p5-CGI-Prototype/pkg-descr new file mode 100644 index 000000000000..2cb07b6cb283 --- /dev/null +++ b/www/p5-CGI-Prototype/pkg-descr @@ -0,0 +1,12 @@ +The core of every CGI application seems to be roughly the same: +- analyze the incoming parameters, cookies, and URLs to determine the + state of the application (let's call this "dispatch"). +- based on the current state, analyze the incoming parameters to respond + to any form submitted ("respond"). +- from there, decide what response page should be generated, and produce + it ("render"). + +CGI::Prototype creates a Class::Prototyped engine for doing all this, +with the right amount of callback hooks to customize the process. + +WWW: http://search.cpan.org/dist/CGI-Prototype/ diff --git a/www/p5-CGI-Prototype/pkg-plist b/www/p5-CGI-Prototype/pkg-plist new file mode 100644 index 000000000000..471ff8645940 --- /dev/null +++ b/www/p5-CGI-Prototype/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/CGI/Prototype.pm +%%SITE_PERL%%/CGI/Prototype/Hidden.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Prototype/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Prototype +@dirrmtry %%SITE_PERL%%/CGI/Prototype +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI +@dirrmtry %%SITE_PERL%%/CGI |