aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-GraphViz
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-03-07 19:42:30 +0800
committerleeym <leeym@FreeBSD.org>2008-03-07 19:42:30 +0800
commite2a545393695feb5553d72619c370076c7ea1cfa (patch)
tree7557b70fd602b6103de8079c10661d846c990107 /graphics/p5-GraphViz
parent8abbeac9e22a125ec27378b98a0892d0f33052a8 (diff)
downloadfreebsd-ports-gnome-e2a545393695feb5553d72619c370076c7ea1cfa.tar.gz
freebsd-ports-gnome-e2a545393695feb5553d72619c370076c7ea1cfa.tar.zst
freebsd-ports-gnome-e2a545393695feb5553d72619c370076c7ea1cfa.zip
- fix dependency
- bump PORTREVISION Submitted by: leeym Approved by: clsung
Diffstat (limited to 'graphics/p5-GraphViz')
-rw-r--r--graphics/p5-GraphViz/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/p5-GraphViz/Makefile b/graphics/p5-GraphViz/Makefile
index 01ce5406f38f..c95061d36fa8 100644
--- a/graphics/p5-GraphViz/Makefile
+++ b/graphics/p5-GraphViz/Makefile
@@ -7,6 +7,7 @@
PORTNAME= GraphViz
PORTVERSION= 2.03
+PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,10 +15,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= GraphViz - Perl interface to the GraphViz graphing tool
-BUILD_DEPENDS= ${SITE_PERL}/IPC/Run.pm:${PORTSDIR}/devel/p5-IPC-Run \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+RUN_DEPENDS= p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run \
+ p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent \
+ p5-XML-Twig>=0:${PORTSDIR}/textproc/p5-XML-Twig \
dot:${PORTSDIR}/graphics/graphviz
-RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -32,4 +33,10 @@ MAN3= Devel::GraphVizProf.3 \
GraphViz::Small.3 \
GraphViz::XML.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>