aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Makefile-Parser
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-03-05 06:44:53 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-03-05 06:44:53 +0000
commitc7cd20ce9705db95c052888ad9db142e612e2d5b (patch)
tree18bfb37e529bfbcd62307627cd296c8fb754f4f4 /textproc/p5-Makefile-Parser
parent3c2f8f5fb42dc3d1220ae050a8aaea41dbf50cf7 (diff)
downloadports-c7cd20ce9705db95c052888ad9db142e612e2d5b.tar.gz
ports-c7cd20ce9705db95c052888ad9db142e612e2d5b.zip
Notes
Diffstat (limited to 'textproc/p5-Makefile-Parser')
-rw-r--r--textproc/p5-Makefile-Parser/Makefile14
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>