aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-MockTime/Makefile
blob: 89bb28e72334f06429290c9912c5814c43be2eed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    devel/p5-Test-MockTime
# Date created:             1 Aug 2006
# Whom:                 Timur I. Bakeyev <bat@cpan.org>
#
# $FreeBSD$
#

PORTNAME=   Test-MockTime
PORTVERSION=    0.03
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX=  p5-

MAINTAINER= bat@cpan.org
COMMENT=    Replaces actual time with simulated time

BUILD_DEPENDS=  ${SITE_PERL}/Time/Local.pm:${PORTSDIR}/devel/p5-Time-Local \
        ${SITE_PERL}/${PERL_ARCH}/Time/Piece.pm:${PORTSDIR}/devel/p5-Time-Piece
RUN_DEPENDS=    ${BUILD_DEPENDS}
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple

PERL_CONFIGURE= yes

MAN3=       Test::MockTime.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>