mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
37 lines
951 B
Makefile
37 lines
951 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Astro-SpaceTrack
|
|
PORTVERSION= 0.086
|
|
CATEGORIES= astro perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:WYANT
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Retrieve orbital data from www.space-track.org
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-HTTP-Date>=0:${PORTSDIR}/www/p5-HTTP-Date \
|
|
p5-HTTP-Message>=6.03:${PORTSDIR}/www/p5-HTTP-Message \
|
|
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
|
|
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}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
CONFIGURE_ARGS= -y
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501800
|
|
BUILD_DEPENDS+= p5-Getopt-Long>=2.39:${PORTSDIR}/devel/p5-Getopt-Long
|
|
RUN_DEPENDS+= p5-Getopt-Long>=2.39:${PORTSDIR}/devel/p5-Getopt-Long
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|