freebsd-ports/devel/p5-Test-Pod-Coverage/Makefile
Lars Thegler 30234933cb - Update to 1.08
- Make portlint happy
2006-01-28 17:08:41 +00:00

34 lines
891 B
Makefile

# New ports collection makefile for: p5-Test-Pod-Coverage
# Date created: 20 november 2004
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-Pod-Coverage
PORTVERSION= 1.08
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Check for pod coverage in your distribution
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Pod/Coverage.pm:${PORTSDIR}/devel/p5-Pod-Coverage \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= Test::Pod::Coverage.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-patch:
@${PERL} -pi -e '$$_ = "" if m|use warnings;|;' \
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
${WRKSRC}/Makefile.PL \
${WRKSRC}/Coverage.pm
.endif
.include <bsd.port.post.mk>