pkgsrc/devel/p5-autodie/Makefile
sno 95a67979eb 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.
2009-08-19 20:17:30 +00:00

22 lines
696 B
Makefile

# $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"