diff options
author | sno <sno@pkgsrc.org> | 2009-05-02 21:19:46 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-05-02 21:19:46 +0000 |
commit | 1fe3acf8fe2954882defb29717aa11c02642d10d (patch) | |
tree | 849deec2aacda8f2f81bfd5115beb62634330855 /time/p5-Test-MockTime/Makefile | |
parent | 5b712e216500166e5863d9ba007dcb399549cf91 (diff) | |
download | pkgsrc-1fe3acf8fe2954882defb29717aa11c02642d10d.tar.gz |
Importing package for p5 module Test::MockTime version 0.12 as dependency
of upcoming DateTime::Format::Natural update.
This module was created to enable test suites to test code at specific
points in time. Specifically it overrides localtime, gmtime and time at
compile time and then relies on the user supplying a mock time via
set_relative_time, set_absolute_time or set_fixed_time to alter future
calls to gmtime,time or localtime.
Diffstat (limited to 'time/p5-Test-MockTime/Makefile')
-rw-r--r-- | time/p5-Test-MockTime/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/time/p5-Test-MockTime/Makefile b/time/p5-Test-MockTime/Makefile new file mode 100644 index 00000000000..c01f284d3d2 --- /dev/null +++ b/time/p5-Test-MockTime/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/05/02 21:19:46 sno Exp $ + +DISTNAME= Test-MockTime-0.12 +PKGNAME= p5-${DISTNAME} +CATEGORIES= time perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/perldoc?Test::MockTime +COMMENT= Replaces actual time with simulated time +LICENSE= gnu-gpl-v2 # OR artistic + +USE_LANGUAGES= c # installs C module +PERL5_PACKLIST= auto/Test/MockTime/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" |