summaryrefslogtreecommitdiff
path: root/devel/p5-Hook-LexWrap
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2006-02-07 22:05:41 +0000
committerseb <seb@pkgsrc.org>2006-02-07 22:05:41 +0000
commit150780d9fc7109e0abb86c51b5e055f1951b4879 (patch)
tree1a4882aa97ada686d2465c6d6576c3b733246753 /devel/p5-Hook-LexWrap
parenteb92c90f64b31f18ed827710a992123f9ba63d11 (diff)
downloadpkgsrc-150780d9fc7109e0abb86c51b5e055f1951b4879.tar.gz
Initial import of p5-Hook-LexWrap version 0.20 as devel/p5-Hook-LexWrap
into the NetBSD Packages Collection. Hook::LexWrap Perl5 module 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.
Diffstat (limited to 'devel/p5-Hook-LexWrap')
-rw-r--r--devel/p5-Hook-LexWrap/DESCR5
-rw-r--r--devel/p5-Hook-LexWrap/Makefile17
-rw-r--r--devel/p5-Hook-LexWrap/PLIST1
-rw-r--r--devel/p5-Hook-LexWrap/distinfo5
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/p5-Hook-LexWrap/DESCR b/devel/p5-Hook-LexWrap/DESCR
new file mode 100644
index 00000000000..e3ea5cb9735
--- /dev/null
+++ b/devel/p5-Hook-LexWrap/DESCR
@@ -0,0 +1,5 @@
+Hook::LexWrap Perl5 module 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/Makefile b/devel/p5-Hook-LexWrap/Makefile
new file mode 100644
index 00000000000..a0f4fa577c8
--- /dev/null
+++ b/devel/p5-Hook-LexWrap/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/07 22:05:41 seb Exp $
+#
+
+DISTNAME= Hook-LexWrap-0.20
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5hlw
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Hook/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Hook-LexWrap/
+COMMENT= Perl5 module providing lexically scoped subroutine wrappers
+
+PERL5_PACKLIST= auto/Hook/LexWrap/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Hook-LexWrap/PLIST b/devel/p5-Hook-LexWrap/PLIST
new file mode 100644
index 00000000000..64806582243
--- /dev/null
+++ b/devel/p5-Hook-LexWrap/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/07 22:05:41 seb Exp $
diff --git a/devel/p5-Hook-LexWrap/distinfo b/devel/p5-Hook-LexWrap/distinfo
new file mode 100644
index 00000000000..a451e5fcc54
--- /dev/null
+++ b/devel/p5-Hook-LexWrap/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/02/07 22:05:41 seb Exp $
+
+SHA1 (Hook-LexWrap-0.20.tar.gz) = 8b9cfc7390acd42594412453d0845eae78e49082
+RMD160 (Hook-LexWrap-0.20.tar.gz) = 613fba6734064c9b4c310379f5f3b73284365c5a
+Size (Hook-LexWrap-0.20.tar.gz) = 6369 bytes