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.
19 lines
548 B
Makefile
19 lines
548 B
Makefile
# $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"
|