diff --git a/devel/p5-Params-CallbackRequest/Makefile b/devel/p5-Params-CallbackRequest/Makefile new file mode 100644 index 00000000000..246dd39727b --- /dev/null +++ b/devel/p5-Params-CallbackRequest/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/01/27 13:13:57 sturm Exp $ + +COMMENT= "functional and object-oriented callback architecture" + +DISTNAME= Params-CallbackRequest-1.13 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 + +MAINTAINER= Nikolay Sturm + +# GPL/Artistic +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Params/} + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ::devel/p5-Params-Validate \ + ::devel/p5-Exception-Class + +CONFIGURE_STYLE=perl modbuild + +PKG_ARCH= * + +.include diff --git a/devel/p5-Params-CallbackRequest/distinfo b/devel/p5-Params-CallbackRequest/distinfo new file mode 100644 index 00000000000..3673734c83d --- /dev/null +++ b/devel/p5-Params-CallbackRequest/distinfo @@ -0,0 +1,4 @@ +MD5 (Params-CallbackRequest-1.13.tar.gz) = 69183af032eebccd5a7d734ab084b823 +RMD160 (Params-CallbackRequest-1.13.tar.gz) = 8d80755926a5445a1d738e0583cbe8d6509c5f70 +SHA1 (Params-CallbackRequest-1.13.tar.gz) = e8a5cd65611651cc26d8add805949596eb509ff5 +SIZE (Params-CallbackRequest-1.13.tar.gz) = 35264 diff --git a/devel/p5-Params-CallbackRequest/pkg/DESCR b/devel/p5-Params-CallbackRequest/pkg/DESCR new file mode 100644 index 00000000000..cbd6af0ee64 --- /dev/null +++ b/devel/p5-Params-CallbackRequest/pkg/DESCR @@ -0,0 +1,14 @@ +Params::CallbackRequest provides functional and object-oriented callbacks +to method and function parameters. Callbacks may be either code references +provided to the new() constructor, or methods defined in subclasses of +Params::Callback. Callbacks are triggered either for every call to the +Params::CallbackRequest execute() method, or by specially named keys in +the parameters to execute(). + +The idea behind this module is to provide a sort of plugin architecture +for Perl templating systems. Callbacks are executed by the contents of a +request to the Perl templating server, before the templating system itself +executes. This approach allows you to carry out logical processing of data +submitted from a form, to affect the contents of the request parameters +before they're passed to the templating system for processing, and even to +redirect or abort the request before the templating system handles it. diff --git a/devel/p5-Params-CallbackRequest/pkg/PLIST b/devel/p5-Params-CallbackRequest/pkg/PLIST new file mode 100644 index 00000000000..9eae816c36f --- /dev/null +++ b/devel/p5-Params-CallbackRequest/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/27 13:13:57 sturm Exp $ +${P5SITE}/Params/ +${P5SITE}/Params/Callback.pm +${P5SITE}/Params/CallbackRequest/ +${P5SITE}/Params/CallbackRequest.pm +${P5SITE}/Params/CallbackRequest/Exceptions.pm +@man man/man3p/Params::Callback.3p +@man man/man3p/Params::CallbackRequest.3p +@man man/man3p/Params::CallbackRequest::Exceptions.3p