From 90e3d3bd1cd7489f1181e9302958edb002dd33d1 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 24 May 2004 17:22:09 +0000 Subject: Add p5-Params-CallbackRequest 1.13, provide callbacks to method and function parameters. PR: ports/67022 Submitted by: Rod Taylor --- devel/Makefile | 1 + devel/p5-Params-CallbackRequest/Makefile | 34 +++++++++++++++++++++++++++++++ devel/p5-Params-CallbackRequest/distinfo | 2 ++ devel/p5-Params-CallbackRequest/pkg-descr | 9 ++++++++ devel/p5-Params-CallbackRequest/pkg-plist | 5 +++++ 5 files changed, 51 insertions(+) create mode 100644 devel/p5-Params-CallbackRequest/Makefile create mode 100644 devel/p5-Params-CallbackRequest/distinfo create mode 100644 devel/p5-Params-CallbackRequest/pkg-descr create mode 100644 devel/p5-Params-CallbackRequest/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 20022d380260..b12f5c36ecd9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Params-CallbackRequest/Makefile b/devel/p5-Params-CallbackRequest/Makefile new file mode 100644 index 000000000000..b1f3e07e0ded --- /dev/null +++ b/devel/p5-Params-CallbackRequest/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: Params::CallbackRequest +# Date created: 21 May 2004 +# Whom: Rod Taylor +# +# $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 + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -i -pe 's/(sub \S+) : .+ {/$$1 {/g' ${WRKSRC}/lib/Params/Callback.pm +.endif + +.include diff --git a/devel/p5-Params-CallbackRequest/distinfo b/devel/p5-Params-CallbackRequest/distinfo new file mode 100644 index 000000000000..b13883428b92 --- /dev/null +++ b/devel/p5-Params-CallbackRequest/distinfo @@ -0,0 +1,2 @@ +MD5 (Params-CallbackRequest-1.13.tar.gz) = 69183af032eebccd5a7d734ab084b823 +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 000000000000..d2973640f608 --- /dev/null +++ b/devel/p5-Params-CallbackRequest/pkg-descr @@ -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/ diff --git a/devel/p5-Params-CallbackRequest/pkg-plist b/devel/p5-Params-CallbackRequest/pkg-plist new file mode 100644 index 000000000000..ebbe21a6fb89 --- /dev/null +++ b/devel/p5-Params-CallbackRequest/pkg-plist @@ -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 -- cgit