2009-04-12 00:34:29 +02:00
|
|
|
# Ports collection makefile for: Astro-satpass
|
|
|
|
# Date created: 11 April, 2009
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Astro-satpass
|
2012-03-13 04:33:26 +01:00
|
|
|
PORTVERSION= 0.049
|
2009-04-12 00:34:29 +02:00
|
|
|
CATEGORIES= astro perl5
|
|
|
|
MASTER_SITES= CPAN
|
2011-12-06 04:56:03 +01:00
|
|
|
MASTER_SITE_SUBDIR= CPAN:WYANT
|
2009-04-12 00:34:29 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2010-05-07 09:28:56 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2009-04-12 00:34:29 +02:00
|
|
|
COMMENT= Classes and app to compute satellite visibility
|
|
|
|
|
2011-08-16 23:34:36 +02:00
|
|
|
LICENSE= ART10 GPLv1
|
2011-09-01 15:10:40 +02:00
|
|
|
LICENSE_COMB= dual
|
2011-03-17 13:52:25 +01:00
|
|
|
|
2010-09-24 12:01:32 +02:00
|
|
|
BUILD_DEPENDS= p5-Date-Manip>=1.14:${PORTSDIR}/devel/p5-Date-Manip
|
2011-09-01 15:10:40 +02:00
|
|
|
RUN_DEPENDS= p5-Date-Manip>=1.14:${PORTSDIR}/devel/p5-Date-Manip
|
2009-04-12 00:34:29 +02:00
|
|
|
|
2011-12-06 04:56:03 +01:00
|
|
|
OPTIONS= GEOCODER_US "Add support for Geo::Coder::Geocoder::US" on \
|
|
|
|
SIMBAD "Add support for Astro::SIMBAD::Client" on \
|
|
|
|
SOAPLITE "Add support for SOAP::Lite (deprecated)" off \
|
2011-09-01 15:10:40 +02:00
|
|
|
SPACETRACK "Add support for Astro::SpaceTrack" on \
|
|
|
|
USGS "Add support for Geo::WebService::Elevation::USGS" on
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= -y
|
2009-04-12 00:34:29 +02:00
|
|
|
PERL_CONFIGURE= yes
|
2011-09-01 15:10:40 +02:00
|
|
|
|
|
|
|
MAN1= satpass.1
|
|
|
|
MAN3= Astro::Coord::ECI::Utils.3 \
|
|
|
|
Astro::Coord::ECI::TLE::Iridium.3 \
|
|
|
|
Astro::Coord::ECI::TLE::Set.3 \
|
|
|
|
Astro::Coord::ECI::TLE.3 \
|
|
|
|
Astro::Coord::ECI::Star.3 \
|
|
|
|
Astro::Coord::ECI::OVERVIEW.3 \
|
|
|
|
Astro::Coord::ECI::Moon.3 \
|
|
|
|
Astro::Coord::ECI::Sun.3 \
|
|
|
|
Astro::Coord::ECI.3
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2011-12-06 04:56:03 +01:00
|
|
|
.if !defined(WITHOUT_GEOCODER_US)
|
|
|
|
RUN_DEPENDS+= p5-Geo-Coder-Geocoder-US>=0:${PORTSDIR}/misc/p5-Geo-Coder-Geocoder-US
|
|
|
|
.endif
|
|
|
|
|
2011-09-01 15:10:40 +02:00
|
|
|
.if !defined(WITHOUT_SIMBAD)
|
2010-01-15 12:21:48 +01:00
|
|
|
RUN_DEPENDS+= p5-Astro-SIMBAD-Client>=0:${PORTSDIR}/astro/p5-Astro-SIMBAD-Client
|
|
|
|
.endif
|
|
|
|
|
2011-09-01 15:10:40 +02:00
|
|
|
.if !defined(WITHOUT_SPACETRACK)
|
2010-01-15 12:21:48 +01:00
|
|
|
RUN_DEPENDS+= p5-Astro-SpaceTrack>=0:${PORTSDIR}/astro/p5-Astro-SpaceTrack
|
|
|
|
.endif
|
|
|
|
|
2011-09-01 15:10:40 +02:00
|
|
|
.if !defined(WITHOUT_USGS)
|
2010-01-15 12:21:48 +01:00
|
|
|
RUN_DEPENDS+= p5-Geo-WebService-Elevation-USGS>=0:${PORTSDIR}/science/p5-Geo-WebService-Elevation-USGS
|
|
|
|
.endif
|
|
|
|
|
2011-12-06 04:56:03 +01:00
|
|
|
.if defined(WITH_SOAPLITE)
|
2010-01-15 12:21:48 +01:00
|
|
|
RUN_DEPENDS+= p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite
|
|
|
|
.endif
|
2011-09-01 15:10:40 +02:00
|
|
|
|
2012-03-08 19:45:38 +01:00
|
|
|
.include <bsd.port.mk>
|