diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-25 08:47:41 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-25 08:47:41 +0000 |
commit | 1a290667572a81eebcff8b2a140462bce7a0c39e (patch) | |
tree | c4020fccdd73589819c1e0479bf19d6400b7c274 /www/p5-MasonX-Interp-WithCallbacks | |
parent | 221a43206b09dc99d6cfc9bacbc2ef0338e07a07 (diff) |
Notes
Diffstat (limited to 'www/p5-MasonX-Interp-WithCallbacks')
-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 |
4 files changed, 51 insertions, 0 deletions
diff --git a/www/p5-MasonX-Interp-WithCallbacks/Makefile b/www/p5-MasonX-Interp-WithCallbacks/Makefile new file mode 100644 index 000000000000..72165558c74e --- /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 000000000000..efe79a1752e1 --- /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 000000000000..1afabb9256bd --- /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 000000000000..70be164a98fc --- /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 |