diff options
-rw-r--r-- | textproc/p5-Makefile-Parser/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/textproc/p5-Makefile-Parser/Makefile b/textproc/p5-Makefile-Parser/Makefile index 964df0397bfd..299c3f61421f 100644 --- a/textproc/p5-Makefile-Parser/Makefile +++ b/textproc/p5-Makefile-Parser/Makefile @@ -7,6 +7,7 @@ PORTNAME= Makefile-Parser PORTVERSION= 0.17 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ../../authors/id/A/AG/AGENT @@ -15,14 +16,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Makefile::Parser - A Simple Parser for Makefiles -RUN_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ - ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \ - ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced -BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils PERL_CONFIGURE= yes MAN1= plmake.1 MAN3= Makefile::Parser.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced +.endif + +.include <bsd.port.post.mk> |