diff options
author | sno <sno@pkgsrc.org> | 2009-08-19 20:17:30 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-08-19 20:17:30 +0000 |
commit | 74f1ff0995d01c59494b5c97b014554a3214dc2c (patch) | |
tree | 1512016595e5e15ebda50444a399bc2b285c138e /devel | |
parent | e3b906ab20933fceebe885f7a9e47b9f0748d0ae (diff) | |
download | pkgsrc-74f1ff0995d01c59494b5c97b014554a3214dc2c.tar.gz |
Importing package for perl5 pragma autodie version 2.06 to satisfy
PR pkg/41816.
The autodie pragma provides a convenient way to replace functions that normally
return false on failure with equivalents that throw an exception on failure.
The autodie pragma has lexical scope, meaning that functions and subroutines
altered with autodie will only change their behaviour until the end of the
enclosing block, file, or eval.
If system is specified as an argument to autodie, then it uses
IPC::System::Simple to do the heavy lifting. See the description of that
module for more information.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-autodie/DESCR | 10 | ||||
-rw-r--r-- | devel/p5-autodie/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-autodie/distinfo | 5 |
3 files changed, 37 insertions, 0 deletions
diff --git a/devel/p5-autodie/DESCR b/devel/p5-autodie/DESCR new file mode 100644 index 00000000000..b32d2ebaada --- /dev/null +++ b/devel/p5-autodie/DESCR @@ -0,0 +1,10 @@ +The autodie pragma provides a convenient way to replace functions that normally +return false on failure with equivalents that throw an exception on failure. + +The autodie pragma has lexical scope, meaning that functions and subroutines +altered with autodie will only change their behaviour until the end of the +enclosing block, file, or eval. + +If system is specified as an argument to autodie, then it uses +IPC::System::Simple to do the heavy lifting. See the description of that +module for more information. diff --git a/devel/p5-autodie/Makefile b/devel/p5-autodie/Makefile new file mode 100644 index 00000000000..3495d498e1b --- /dev/null +++ b/devel/p5-autodie/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/08/19 20:17:30 sno Exp $ + +DISTNAME= autodie-2.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=autodie/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/autodie/ +COMMENT= Replace functions with ones that succeed or die with lexical scope +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-IPC-System-Simple>=0.12:../../devel/p5-IPC-System-Simple + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_MODULE_TYPE= Module::Install # better Module::Install::Bundled +PERL5_PACKLIST= auto/autodie/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-autodie/distinfo b/devel/p5-autodie/distinfo new file mode 100644 index 00000000000..996d187186f --- /dev/null +++ b/devel/p5-autodie/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/08/19 20:17:30 sno Exp $ + +SHA1 (autodie-2.06.tar.gz) = 4865c824c275dacb53a38f797bc3add9c7ac1daf +RMD160 (autodie-2.06.tar.gz) = 367c63d0917b41a40f69be7fcbec56331d68d19e +Size (autodie-2.06.tar.gz) = 73630 bytes |