mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
dbf14f2962
testing.
32 lines
880 B
Makefile
32 lines
880 B
Makefile
# New ports collection makefile for: devel/p5-Test-MockModule
|
|
# Date created: 26 December 2004
|
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Test-MockModule
|
|
PORTVERSION= 0.04
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Test
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lth@FreeBSD.org
|
|
COMMENT= Override subroutines in a module for unit testing
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
|
|
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Test::MockModule.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${PERL_LEVEL} < 500600
|
|
# Test::MockModule uses weak references, which are introduced in 5.6
|
|
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
|
|
.endif
|
|
.include <bsd.port.post.mk>
|