ports/67023: New Port: www/p5-MasonX-Interp-WithCallbacks - Required for Bricolage
Rod Taylor
ports at rbt.ca
Sat May 22 01:40:30 UTC 2004
>Number: 67023
>Category: ports
>Synopsis: New Port: www/p5-MasonX-Interp-WithCallbacks - Required for Bricolage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri May 21 18:40:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Rod Taylor
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD home 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sun Feb 29 13:14:24 EST 2004 root at home:/usr/obj/usr/src/sys/HOME i386
>Description:
Bricolage (a port I'm workin on) requires this port.
This module brings support for a sort of plugin architecture based on
Params::CallbackRequest to Mason. Mason then executes code before executing
any components.
>How-To-Repeat:
>Fix:
--- p5-MasonX-Interp-WithCallbacks.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-MasonX-Interp-WithCallbacks
# p5-MasonX-Interp-WithCallbacks/Makefile
# p5-MasonX-Interp-WithCallbacks/distinfo
# p5-MasonX-Interp-WithCallbacks/pkg-descr
# p5-MasonX-Interp-WithCallbacks/pkg-plist
#
echo c - p5-MasonX-Interp-WithCallbacks
mkdir -p p5-MasonX-Interp-WithCallbacks > /dev/null 2>&1
echo x - p5-MasonX-Interp-WithCallbacks/Makefile
sed 's/^X//' >p5-MasonX-Interp-WithCallbacks/Makefile << 'END-of-p5-MasonX-Interp-WithCallbacks/Makefile'
X# New ports collection makefile for: p5-MasonX-Interp-WithCallbacks
X# Date created: May 21, 2004
X# Whom: Rod Taylor <ports at rbt.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME= MasonX-Interp-WithCallbacks
XPORTVERSION= 1.11
XCATEGORIES= www perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= MasonX/DWHEELER
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= ports at rbt.ca
XCOMMENT= Mason callback support via Params::CallbackRequest
X
XBUILD_DEPENDS= ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
X ${SITE_PERL}/Params/CallbackRequest.pm:${PORTSDIR}/devel/p5-Params-CallbackRequest
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XPERL_CONFIGURE= yes
X
XMAN3= MasonX::Interp::WithCallbacks.3
X
X.include <bsd.port.mk>
END-of-p5-MasonX-Interp-WithCallbacks/Makefile
echo x - p5-MasonX-Interp-WithCallbacks/distinfo
sed 's/^X//' >p5-MasonX-Interp-WithCallbacks/distinfo << 'END-of-p5-MasonX-Interp-WithCallbacks/distinfo'
XMD5 (MasonX-Interp-WithCallbacks-1.11.tar.gz) = 0f0fa00e6a5d2c5318ad48ef9cea3705
XSIZE (MasonX-Interp-WithCallbacks-1.11.tar.gz) = 23667
END-of-p5-MasonX-Interp-WithCallbacks/distinfo
echo x - p5-MasonX-Interp-WithCallbacks/pkg-descr
sed 's/^X//' >p5-MasonX-Interp-WithCallbacks/pkg-descr << 'END-of-p5-MasonX-Interp-WithCallbacks/pkg-descr'
XMasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to
Xprovide a Mason callback system built on Params::CallbackRequest. Callbacks
Xmay be either code references provided to the C<new()> constructor, or methods
Xdefined in subclasses of Params::Callback. Callbacks are triggered either for
Xevery request or by specially named keys in the Mason request arguments, and
Xall callbacks are executed at the beginning of a request, just before Mason
Xcreates and executes the request component stack.
X
XThis module brings support for a sort of plugin architecture based on
XParams::CallbackRequest to Mason. Mason then executes code before executing
Xany components. This approach allows you to carry out logical processing of
Xdata submitted from a form, to affect the contents of the Mason request
Xarguments (and thus the %ARGS hash in components), and even to redirect or
Xabort the request before Mason handles it.
X
XWWW: http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/
END-of-p5-MasonX-Interp-WithCallbacks/pkg-descr
echo x - p5-MasonX-Interp-WithCallbacks/pkg-plist
sed 's/^X//' >p5-MasonX-Interp-WithCallbacks/pkg-plist << 'END-of-p5-MasonX-Interp-WithCallbacks/pkg-plist'
X%%SITE_PERL%%/MasonX/Interp/WithCallbacks.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX/Interp/WithCallbacks/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX/Interp/WithCallbacks
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX/Interp
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MasonX
X at dirrm %%SITE_PERL%%/MasonX/Interp
X at unexec rmdir %D/%%SITE_PERL%%/MasonX 2>/dev/null || true
END-of-p5-MasonX-Interp-WithCallbacks/pkg-plist
exit
--- p5-MasonX-Interp-WithCallbacks.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list