mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
73a0f50eae
PR: ports/98313 Submitted by: aaron
34 lines
906 B
Makefile
34 lines
906 B
Makefile
# New ports collection makefile for: devel/p5-Test-SubCalls
|
|
# Date created: 08 October 2005
|
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Test-SubCalls
|
|
PORTVERSION= 1.06
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Test
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lth@FreeBSD.org
|
|
COMMENT= Track the number of times subs are called
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Hook/LexWrap.pm:${PORTSDIR}/devel/p5-Hook-LexWrap \
|
|
${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Test::SubCalls.3
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${PERL_LEVEL} < 500601 # inherited from devel/p5-Hook-LexWrap
|
|
IGNORE= requires perl 5.6.1 or newer. Install lang/perl5 or lang/perl5.8 and try again
|
|
.endif
|
|
.include <bsd.port.post.mk>
|