aboutsummaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-SpaceTrack/Makefile
blob: ac21298a2d609a2a35b63c0d8f39f0631180fef8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    p5-Astro-SpaceTrack
# Date created:     2006-07-21
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Astro-SpaceTrack
PORTVERSION=    0.054
CATEGORIES= astro perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Retrieve orbital data from www.space-track.org

LICENSE_COMB=   dual
LICENSE=    ART20 GPLv1

RUN_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

PERL_CONFIGURE= yes
CONFIGURE_ARGS= -y

MAN1=       SpaceTrack.1
MAN3=       Astro::SpaceTrack.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+=   p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
.endif

.include <bsd.port.post.mk>