15bd447ab3
This modules is primarily (but not exclusively) for use in test scripts: A block eval on steroids, configurable and extensible, but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values from boxed blocks of test code. The values collected by the latest trap can then be queried or tested through a special trap object.
21 lines
638 B
Makefile
21 lines
638 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/08/16 20:40:16 wiz Exp $
|
|
|
|
DISTNAME= Test-Trap-v0.2.1
|
|
PKGNAME= p5-${DISTNAME:S/v0/0/}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Test-Trap/
|
|
COMMENT= Perl extension to trap exit codes, exceptions, output
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump
|
|
DEPENDS+= p5-Test-Tester>=0.107:../../devel/p5-Test-Tester
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PERL5_PACKLIST= auto/Test/Trap/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|