diff options
author | sno <sno@pkgsrc.org> | 2009-08-08 20:52:22 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-08-08 20:52:22 +0000 |
commit | b57c3a9026d18c2bdc737131f4242004847b5bd1 (patch) | |
tree | fc94feaf92bcdc92ccbd8698c87d48aefcfcc019 /devel/p5-Guard | |
parent | a1a289b188009ac58899bc1e9dcf1eb33f904b66 (diff) | |
download | pkgsrc-b57c3a9026d18c2bdc737131f4242004847b5bd1.tar.gz |
Importing package for p5 module Guard as dependency for devel/p5-AnyEvent.
This module implements so-called "guards". A guard is something (usually an
object) that "guards" a resource, ensuring that it is cleaned up when
expected.
Specifically, this module supports two different types of guards: guard
objects, which execute a given code block when destroyed, and scoped guards,
which are tied to the scope exit.
Diffstat (limited to 'devel/p5-Guard')
-rw-r--r-- | devel/p5-Guard/DESCR | 7 | ||||
-rw-r--r-- | devel/p5-Guard/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-Guard/distinfo | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Guard/DESCR b/devel/p5-Guard/DESCR new file mode 100644 index 00000000000..8c5779e23f2 --- /dev/null +++ b/devel/p5-Guard/DESCR @@ -0,0 +1,7 @@ +This module implements so-called "guards". A guard is something (usually an +object) that "guards" a resource, ensuring that it is cleaned up when +expected. + +Specifically, this module supports two different types of guards: guard +objects, which execute a given code block when destroyed, and scoped guards, +which are tied to the scope exit. diff --git a/devel/p5-Guard/Makefile b/devel/p5-Guard/Makefile new file mode 100644 index 00000000000..6d89eaa1445 --- /dev/null +++ b/devel/p5-Guard/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/08/08 20:52:22 sno Exp $ + +DISTNAME= Guard-1.021 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Guard/ +COMMENT= Perl5 module to safe cleanup blocks +LICENSE= ${PERL5_LICENSE} + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c +PERL5_PACKLIST= auto/Guard/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Guard/distinfo b/devel/p5-Guard/distinfo new file mode 100644 index 00000000000..f963b0540f2 --- /dev/null +++ b/devel/p5-Guard/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/08/08 20:52:22 sno Exp $ + +SHA1 (Guard-1.021.tar.gz) = a2e6ca5a8336add12c5a75cbd7408e14f62d2a77 +RMD160 (Guard-1.021.tar.gz) = d432ea4c9fdff3eaa41fe786cb52201acb870d27 +Size (Guard-1.021.tar.gz) = 6621 bytes |