aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-03-05 14:44:53 +0800
committerleeym <leeym@FreeBSD.org>2008-03-05 14:44:53 +0800
commit5727ad707ac72e94c92dfa0a40d4c894389f2a0d (patch)
tree2a8483243bb770724fa03bc0047bf78af7a4ed66 /textproc
parent5703a0f8fe9c68e254b3596c453eb2e73c840ba5 (diff)
downloadfreebsd-ports-gnome-5727ad707ac72e94c92dfa0a40d4c894389f2a0d.tar.gz
freebsd-ports-gnome-5727ad707ac72e94c92dfa0a40d4c894389f2a0d.tar.zst
freebsd-ports-gnome-5727ad707ac72e94c92dfa0a40d4c894389f2a0d.zip
- simplify dependency
- bump PORTREVISION
Diffstat (limited to 'textproc')
-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>