diff --git a/textproc/p5-Pod-Strip/Makefile b/textproc/p5-Pod-Strip/Makefile index 73f0f7cf2a7b..d2bd1399c56f 100644 --- a/textproc/p5-Pod-Strip/Makefile +++ b/textproc/p5-Pod-Strip/Makefile @@ -7,6 +7,7 @@ PORTNAME= Pod-Strip PORTVERSION= 1.02 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= Pod @@ -15,11 +16,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= clsung@FreeBSD.org COMMENT= Remove POD from Perl code -RUN_DEPENDS= ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple -BUILD_DEPENDS= ${RUN_DEPENDS} - PERL_MODBUILD= yes MAN3= Pod::Strip.3 -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-Pod-Simple>=3.00:${PORTSDIR}/textproc/p5-Pod-Simple +BUILD_DEPENDS+= ${RUN_DEPENDS} +.endif + +.include