1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add p5-Params-CallbackRequest 1.13, provide callbacks to method and

function parameters.

PR:		ports/67022
Submitted by:	Rod Taylor <ports@rbt.ca>
This commit is contained in:
Mathieu Arnold 2004-05-24 17:22:09 +00:00
parent 16221ddd66
commit 08208670b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109879
5 changed files with 51 additions and 0 deletions

View File

@ -854,6 +854,7 @@
SUBDIR += p5-PPerl
SUBDIR += p5-PV
SUBDIR += p5-Parallel-ForkManager
SUBDIR += p5-Params-CallbackRequest
SUBDIR += p5-Params-Validate
SUBDIR += p5-Parse-CPAN-Packages
SUBDIR += p5-Parse-PerlConfig

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: Params::CallbackRequest
# Date created: 21 May 2004
# Whom: Rod Taylor <ports@rbt.ca>
#
# $FreeBSD$
#
PORTNAME= Params-CallbackRequest
PORTVERSION= 1.13
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Params/DWHEELER
PKGNAMEPREFIX= p5-
MAINTAINER= ports@rbt.ca
COMMENT= Provide callbacks to method and function parameters
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Params::Callback.3 Params::CallbackRequest.3 \
Params::CallbackRequest::Exceptions.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -i -pe 's/(sub \S+) : .+ {/$$1 {/g' ${WRKSRC}/lib/Params/Callback.pm
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Params-CallbackRequest-1.13.tar.gz) = 69183af032eebccd5a7d734ab084b823
SIZE (Params-CallbackRequest-1.13.tar.gz) = 35264

View File

@ -0,0 +1,9 @@
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.
WWW: http://search.cpan.org/dist/Params-CallbackRequest/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Params/CallbackRequest.pm
%%SITE_PERL%%/Params/Callback.pm
%%SITE_PERL%%/Params/CallbackRequest/Exceptions.pm
@dirrm %%SITE_PERL%%/Params/CallbackRequest
@unexec rmdir %D/%%SITE_PERL%%/Params 2>/dev/null || true