aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-GraphViz-Data-Structure/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-GraphViz-Data-Structure/Makefile')
-rw-r--r--graphics/p5-GraphViz-Data-Structure/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/p5-GraphViz-Data-Structure/Makefile b/graphics/p5-GraphViz-Data-Structure/Makefile
index 94e9c4d67a09..ab920ceb1e30 100644
--- a/graphics/p5-GraphViz-Data-Structure/Makefile
+++ b/graphics/p5-GraphViz-Data-Structure/Makefile
@@ -16,13 +16,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Visualise data structures
-BUILD_DEPENDS= ${PERL_SITELIBDIR}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz \
- ${PERL_SITELIBDIR}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS= ${SITE_PERL}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
-PERL_SITELIBDIR= ${SITE_PERL}
PERL_CONFIGURE= yes
MAN3= GraphViz::Data::Structure.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>