aboutsummaryrefslogtreecommitdiff
path: root/astro/p5-Astro-SpaceTrack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/p5-Astro-SpaceTrack/Makefile')
-rw-r--r--astro/p5-Astro-SpaceTrack/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/astro/p5-Astro-SpaceTrack/Makefile b/astro/p5-Astro-SpaceTrack/Makefile
index db63b7a0dce3..3b706e4a697a 100644
--- a/astro/p5-Astro-SpaceTrack/Makefile
+++ b/astro/p5-Astro-SpaceTrack/Makefile
@@ -32,4 +32,14 @@ CONFIGURE_ARGS= -y
MAN1= SpaceTrack.1
MAN3= Astro::SpaceTrack.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>