aboutsummaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-SpaceTrack/Makefile
blob: 3b706e4a697a99ba67e521ed4afadacdb95281d0 (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
38
39
40
41
42
43
44
45
# 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.058
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-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}

TEST_DEPENDS=   p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML

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

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=  p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>