# New ports collection makefile for: devel/p5-Test-MockModule # Date created: 26 December 2004 # Whom: Lars Thegler # # $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 .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