diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-03-10 10:53:10 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-03-10 10:53:10 +0800 |
commit | 08e223b01f6872c1ca9b89553639a30e3a739e14 (patch) | |
tree | c59e8048ceaab7d0c934560f6e1f73238b4e98de /devel | |
parent | e27135418d74020b44d509fdee3c534933ecd30f (diff) | |
download | freebsd-ports-gnome-08e223b01f6872c1ca9b89553639a30e3a739e14.tar.gz freebsd-ports-gnome-08e223b01f6872c1ca9b89553639a30e3a739e14.tar.zst freebsd-ports-gnome-08e223b01f6872c1ca9b89553639a30e3a739e14.zip |
- Add p5-Time-Mock 0.0.2
Time::Mock speeds up your sleep(), alarm(), and time() calls.
Test::MockTime is nice, but doesn't allow you to accelerate the timestep and
doesn't deal with Time::HiRes or give you any way to change the time across
forks.
WWW: http://search.cpan.org/dist/Time-Mock/
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Time-Mock/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Time-Mock/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Time-Mock/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-Time-Mock/pkg-plist | 2 |
5 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b5063b353b17..34ba234fb954 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2873,6 +2873,7 @@ SUBDIR += p5-Time-HiRes SUBDIR += p5-Time-Interval SUBDIR += p5-Time-Local + SUBDIR += p5-Time-Mock SUBDIR += p5-Time-Object SUBDIR += p5-Time-Out SUBDIR += p5-Time-Period diff --git a/devel/p5-Time-Mock/Makefile b/devel/p5-Time-Mock/Makefile new file mode 100644 index 000000000000..931a8c4f8b5c --- /dev/null +++ b/devel/p5-Time-Mock/Makefile @@ -0,0 +1,21 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Time-Mock +PORTVERSION= 0.0.2 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-v${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Shift and scale time + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +PERL_MODBUILD= yes + +MAN3= Time::Mock.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Time-Mock/distinfo b/devel/p5-Time-Mock/distinfo new file mode 100644 index 000000000000..ed6010ec728c --- /dev/null +++ b/devel/p5-Time-Mock/distinfo @@ -0,0 +1,2 @@ +SHA256 (Time-Mock-v0.0.2.tar.gz) = 9bd2f7436bd2bdd9b947d70939c62c425801cae3a4321cb864a8a2f4d1f3982f +SIZE (Time-Mock-v0.0.2.tar.gz) = 5139 diff --git a/devel/p5-Time-Mock/pkg-descr b/devel/p5-Time-Mock/pkg-descr new file mode 100644 index 000000000000..5726aa1c67f5 --- /dev/null +++ b/devel/p5-Time-Mock/pkg-descr @@ -0,0 +1,7 @@ +Time::Mock speeds up your sleep(), alarm(), and time() calls. + +Test::MockTime is nice, but doesn't allow you to accelerate the timestep and +doesn't deal with Time::HiRes or give you any way to change the time across +forks. + +WWW: http://search.cpan.org/dist/Time-Mock/ diff --git a/devel/p5-Time-Mock/pkg-plist b/devel/p5-Time-Mock/pkg-plist new file mode 100644 index 000000000000..8de395d41acc --- /dev/null +++ b/devel/p5-Time-Mock/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Time/Mock.pm +@dirrmtry %%SITE_PERL%%/Time |