Test::UseAllModules v0.12 from PR pkg/42023 with minor modifications. Sick of writing 00_load.t (or something like that) that do use_ok() for every written module? Even sicker of updating 00_load.t every time adding another file to the distro? This module reads MANIFEST to find modules to be tested and does use_ok() for each of them. Now all to do is keeping MANIFEST up to date.
19 lines
541 B
Makefile
19 lines
541 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/09/22 19:30:03 sno Exp $
|
|
|
|
DISTNAME= Test-UseAllModules-0.12
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Test-UseAllModules/
|
|
COMMENT= Do use_ok() for all the MANIFESTed modules
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/Test/UseAllModules/.packlist
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|