# New ports collection makefile for: p5-Test-Pod # Date created: 2 july 2003 # Whom: Mathieu Arnold <m@absolight.net> # # $FreeBSD$ # PORTNAME= Test-Pod PORTVERSION= 1.20 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Test PKGNAMEPREFIX= p5- MAINTAINER= mat@FreeBSD.org COMMENT= Check for POD errors in files BUILD_DEPENDS= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \ ${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \ ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= Test::Pod.3 .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500600 post-patch: @${PERL} -pi -e 's/(my )?\$$dh/DH/g' ${WRKSRC}/Pod.pm .endif .if ${PERL_LEVEL} < 500800 BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple .endif .include <bsd.port.post.mk>