pkgsrc/devel/p5-Test-TempDir/Makefile
he 3a5ce8f0f7 Import p5-Test-TempDir version 0.04.
Test::TempDir provides temporary directory creation with testing in mind.

The differences between using this and using File::Temp are:

    * If t/tmp is available (writable, creatable, etc) it's preferred
      over $ENV{TMPDIR} etc. Otherwise a temporary directory will be
      used.
      This is temp_root
    * Lockfiles are used on t/tmp, to prevent race conditions when
      running under a parallel test harness.
    * The temp_root is cleaned at the end of a test run, but not
      if tests failed.
    * temp_root is emptied at the begining of a test run unconditionally.
    * The default policy is not to clean the individual tempfiles
      and tempdirs within temp_root, in order to aid in debugging of
      failed tests.
2009-01-11 13:42:03 +00:00

27 lines
973 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2009/01/11 13:42:03 he Exp $
DISTNAME= Test-TempDir-0.04
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-TempDir/
COMMENT= Temporary files support for testing
DEPENDS+= p5-File-NFSLock>=0:../../devel/p5-File-NFSLock
DEPENDS+= {p5-File-Path>=2.04,perl>=5.10}:../../devel/p5-File-Path
DEPENDS+= p5-Moose>=0.50:../../devel/p5-Moose
DEPENDS+= p5-MooseX-Types-Path-Class>=0:../../devel/p5-MooseX-Types-Path-Class
DEPENDS+= p5-namespace-clean>=0.08:../../devel/p5-namespace-clean
DEPENDS+= p5-Path-Class>=0:../../devel/p5-Path-Class
DEPENDS+= p5-Sub-Exporter>=0:../../devel/p5-Sub-Exporter
DEPENDS+= p5-Test-use-ok>=0:../../devel/p5-Test-use-ok
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Test/TempDir/.packlist
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"