aboutsummaryrefslogtreecommitdiff
path: root/astro/p5-Astro-SpaceTrack/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-29 09:05:45 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-29 09:05:45 +0000
commitdbdc4f734570fd54bfc62396fab8b33fcceff979 (patch)
treee66dc114d3563faa63c7eca7d79189ba42fb573c /astro/p5-Astro-SpaceTrack/Makefile
parentd97fed8f2af8195f5d9cf07200afbb020b89770c (diff)
downloadports-dbdc4f734570fd54bfc62396fab8b33fcceff979.tar.gz
ports-dbdc4f734570fd54bfc62396fab8b33fcceff979.zip
Notes
Diffstat (limited to 'astro/p5-Astro-SpaceTrack/Makefile')
-rw-r--r--astro/p5-Astro-SpaceTrack/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/astro/p5-Astro-SpaceTrack/Makefile b/astro/p5-Astro-SpaceTrack/Makefile
index 6f3284bb41cf..dc3ae0257275 100644
--- a/astro/p5-Astro-SpaceTrack/Makefile
+++ b/astro/p5-Astro-SpaceTrack/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= Astro-SpaceTrack
-PORTVERSION= 0.054
+PORTVERSION= 0.055
CATEGORIES= astro perl5
MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:WYANT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
@@ -17,10 +18,11 @@ COMMENT= Retrieve orbital data from www.space-track.org
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
+BUILD_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= -y
@@ -34,4 +36,8 @@ MAN3= Astro::SpaceTrack.3
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>