aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-SWF-File/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-SWF-File/Makefile')
-rw-r--r--graphics/p5-SWF-File/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/p5-SWF-File/Makefile b/graphics/p5-SWF-File/Makefile
index 5e968b77f8f8..160c1566def4 100644
--- a/graphics/p5-SWF-File/Makefile
+++ b/graphics/p5-SWF-File/Makefile
@@ -31,4 +31,10 @@ post-patch:
post-configure:
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 or lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>