From bf98e9232bd60538a5ecb2462b99baaea0f29396 Mon Sep 17 00:00:00 2001 From: sturm Date: Sat, 18 Mar 2006 19:03:35 +0000 Subject: [PATCH] Initial import of Hook-LexWrap-0.20 Hook::LexWrap allows you to install a pre- or post-wrapper (or both) around an existing subroutine. Unlike other modules that provide this capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap implements wrappers in such a way that the standard `caller' function works correctly within the wrapped subroutine. from Deanna Phillips --- devel/p5-Hook-LexWrap/Makefile | 23 +++++++++++++++++++++++ devel/p5-Hook-LexWrap/distinfo | 4 ++++ devel/p5-Hook-LexWrap/pkg/DESCR | 5 +++++ devel/p5-Hook-LexWrap/pkg/PLIST | 4 ++++ 4 files changed, 36 insertions(+) create mode 100644 devel/p5-Hook-LexWrap/Makefile create mode 100644 devel/p5-Hook-LexWrap/distinfo create mode 100644 devel/p5-Hook-LexWrap/pkg/DESCR create mode 100644 devel/p5-Hook-LexWrap/pkg/PLIST diff --git a/devel/p5-Hook-LexWrap/Makefile b/devel/p5-Hook-LexWrap/Makefile new file mode 100644 index 00000000000..686afee73c1 --- /dev/null +++ b/devel/p5-Hook-LexWrap/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/03/18 19:03:35 sturm Exp $ + +COMMENT= "lexically scoped subroutine wrappers" + +DISTNAME= Hook-LexWrap-0.20 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 + +MAINTAINER= Deanna Phillips + +# Artistic +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Hook/} + +CONFIGURE_STYLE=perl + +PKG_ARCH= * + +.include diff --git a/devel/p5-Hook-LexWrap/distinfo b/devel/p5-Hook-LexWrap/distinfo new file mode 100644 index 00000000000..6d253180fe2 --- /dev/null +++ b/devel/p5-Hook-LexWrap/distinfo @@ -0,0 +1,4 @@ +MD5 (Hook-LexWrap-0.20.tar.gz) = e3aaeb59a3adddc80ed3867e4d16654e +RMD160 (Hook-LexWrap-0.20.tar.gz) = 613fba6734064c9b4c310379f5f3b73284365c5a +SHA1 (Hook-LexWrap-0.20.tar.gz) = 8b9cfc7390acd42594412453d0845eae78e49082 +SIZE (Hook-LexWrap-0.20.tar.gz) = 6369 diff --git a/devel/p5-Hook-LexWrap/pkg/DESCR b/devel/p5-Hook-LexWrap/pkg/DESCR new file mode 100644 index 00000000000..0de1d162e2d --- /dev/null +++ b/devel/p5-Hook-LexWrap/pkg/DESCR @@ -0,0 +1,5 @@ +Hook::LexWrap allows you to install a pre- or post-wrapper (or both) +around an existing subroutine. Unlike other modules that provide this +capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap +implements wrappers in such a way that the standard `caller' function +works correctly within the wrapped subroutine. diff --git a/devel/p5-Hook-LexWrap/pkg/PLIST b/devel/p5-Hook-LexWrap/pkg/PLIST new file mode 100644 index 00000000000..f436285b997 --- /dev/null +++ b/devel/p5-Hook-LexWrap/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/03/18 19:03:35 sturm Exp $ +${P5SITE}/Hook/ +${P5SITE}/Hook/LexWrap.pm +@man man/man3p/Hook::LexWrap.3p