diff options
author | mat <mat@FreeBSD.org> | 2004-05-25 08:47:41 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-05-25 08:47:41 +0000 |
commit | d0ece724af1419c09f46fe047310861c9ffb7db7 (patch) | |
tree | 24b3a3ab0fc2b91e366025c6d336db68e2b6370b /www | |
parent | 482c0c0c01b4dc4439976a564dbc24bb6df5cd48 (diff) | |
download | FreeBSD-ports-d0ece724af1419c09f46fe047310861c9ffb7db7.zip FreeBSD-ports-d0ece724af1419c09f46fe047310861c9ffb7db7.tar.gz |
Add p5-MasonX-Interp-WithCallbacks 1.11, mason callback support via
Params::CallbackRequest.
PR: ports/67023
Submitted by: Rod Taylor <ports@rbt.ca>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-MasonX-Interp-WithCallbacks/Makefile | 26 | ||||
-rw-r--r-- | www/p5-MasonX-Interp-WithCallbacks/distinfo | 2 | ||||
-rw-r--r-- | www/p5-MasonX-Interp-WithCallbacks/pkg-descr | 16 | ||||
-rw-r--r-- | www/p5-MasonX-Interp-WithCallbacks/pkg-plist | 7 |
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 5f802de..e13e026 100644 --- a/www/Makefile +++ b/www/Makefile @@ -448,6 +448,7 @@ SUBDIR += p5-HTTPD-Log-Filter SUBDIR += p5-HTTPD-Tools SUBDIR += p5-IMDB-Movie + SUBDIR += p5-MasonX-Interp-WithCallbacks SUBDIR += p5-MasonX-Request-WithApacheSession SUBDIR += p5-Maypole SUBDIR += p5-PHP-Session diff --git a/www/p5-MasonX-Interp-WithCallbacks/Makefile b/www/p5-MasonX-Interp-WithCallbacks/Makefile new file mode 100644 index 0000000..7216555 --- /dev/null +++ b/www/p5-MasonX-Interp-WithCallbacks/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-MasonX-Interp-WithCallbacks +# Date created: May 21, 2004 +# Whom: Rod Taylor <ports@rbt.ca> +# +# $FreeBSD$ +# + +PORTNAME= MasonX-Interp-WithCallbacks +PORTVERSION= 1.11 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= MasonX/DWHEELER +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@rbt.ca +COMMENT= Mason callback support via Params::CallbackRequest + +BUILD_DEPENDS= ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ + ${SITE_PERL}/Params/CallbackRequest.pm:${PORTSDIR}/devel/p5-Params-CallbackRequest +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= MasonX::Interp::WithCallbacks.3 + +.include <bsd.port.mk> diff --git a/www/p5-MasonX-Interp-WithCallbacks/distinfo b/www/p5-MasonX-Interp-WithCallbacks/distinfo new file mode 100644 index 0000000..efe79a1 --- /dev/null +++ b/www/p5-MasonX-Interp-WithCallbacks/distinfo @@ -0,0 +1,2 @@ +MD5 (MasonX-Interp-WithCallbacks-1.11.tar.gz) = 0f0fa00e6a5d2c5318ad48ef9cea3705 +SIZE (MasonX-Interp-WithCallbacks-1.11.tar.gz) = 23667 diff --git a/www/p5-MasonX-Interp-WithCallbacks/pkg-descr b/www/p5-MasonX-Interp-WithCallbacks/pkg-descr new file mode 100644 index 0000000..1afabb9 --- /dev/null +++ b/www/p5-MasonX-Interp-WithCallbacks/pkg-descr @@ -0,0 +1,16 @@ +MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to +provide a Mason callback system built on Params::CallbackRequest. Callbacks +may be either code references provided to the C<new()> constructor, or methods +defined in subclasses of Params::Callback. Callbacks are triggered either for +every request or by specially named keys in the Mason request arguments, and +all callbacks are executed at the beginning of a request, just before Mason +creates and executes the request component stack. + +This module brings support for a sort of plugin architecture based on +Params::CallbackRequest to Mason. Mason then executes code before executing +any components. This approach allows you to carry out logical processing of +data submitted from a form, to affect the contents of the Mason request +arguments (and thus the %ARGS hash in components), and even to redirect or +abort the request before Mason handles it. + +WWW: http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/ diff --git a/www/p5-MasonX-Interp-WithCallbacks/pkg-plist b/www/p5-MasonX-Interp-WithCallbacks/pkg-plist new file mode 100644 index 0000000..70be164 --- /dev/null +++ b/www/p5-MasonX-Interp-WithCallbacks/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/MasonX/Interp/WithCallbacks.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX/Interp/WithCallbacks/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX/Interp/WithCallbacks +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX/Interp +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX +@dirrm %%SITE_PERL%%/MasonX/Interp +@unexec rmdir %D/%%SITE_PERL%%/MasonX 2>/dev/null || true |