aboutsummaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-Coords
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-07-10 15:00:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-07-10 15:00:17 +0800
commitec5ef832e346164615569ec7a3033c8963a704c8 (patch)
tree7360abcfe45bb8160d8582749b20451b120e9c44 /astro/p5-Astro-Coords
parent65743a2f7ff2c02601a5286726274e16e7a64978 (diff)
downloadfreebsd-ports-gnome-ec5ef832e346164615569ec7a3033c8963a704c8.tar.gz
freebsd-ports-gnome-ec5ef832e346164615569ec7a3033c8963a704c8.tar.zst
freebsd-ports-gnome-ec5ef832e346164615569ec7a3033c8963a704c8.zip
- Add p5-Astro-Coords 0.15
Astro::Coords is a class for manipulating and transforming astronomical coordinates. Can handle the following coordinate types: - Equatorial RA/Dec, galactic (including proper motions and parallax) - Planets - Comets/Asteroids - Fixed locations in azimuth and elevations - Interpolated apparent coordinates For time dependent calculations a telescope location and reference time must be provided. See Astro::Telescope and DateTime for details on specifying location and reference epoch. WWW: http://search.cpan.org/dist/Astro-Coords/
Diffstat (limited to 'astro/p5-Astro-Coords')
-rw-r--r--astro/p5-Astro-Coords/Makefile47
-rw-r--r--astro/p5-Astro-Coords/distinfo2
-rw-r--r--astro/p5-Astro-Coords/pkg-descr13
-rw-r--r--astro/p5-Astro-Coords/pkg-plist13
4 files changed, 75 insertions, 0 deletions
diff --git a/astro/p5-Astro-Coords/Makefile b/astro/p5-Astro-Coords/Makefile
new file mode 100644
index 000000000000..7c56f249a411
--- /dev/null
+++ b/astro/p5-Astro-Coords/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: p5-Astro-Coords
+# Date created: 2012-07-01
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Astro-Coords
+PORTVERSION= 0.15
+CATEGORIES= astro perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Class for handling astronomical coordinates
+
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Astro-PAL>=0:${PORTSDIR}/astro/p5-Astro-PAL \
+ p5-Astro-Telescope>=0.71:${PORTSDIR}/astro/p5-Astro-Telescope \
+ p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Number-Delta>=0:${PORTSDIR}/devel/p5-Test-Number-Delta \
+ p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
+
+PERL_MODBUILD= yes
+
+MAN3= Astro::Coords.3 \
+ Astro::Coords::Angle.3 \
+ Astro::Coords::Angle::Hour.3 \
+ Astro::Coords::Calibration.3 \
+ Astro::Coords::Elements.3 \
+ Astro::Coords::Equatorial.3 \
+ Astro::Coords::Fixed.3 \
+ Astro::Coords::Interpolated.3 \
+ Astro::Coords::Offset.3 \
+ Astro::Coords::Planet.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Time-Piece>=1.02:${PORTSDIR}/devel/p5-Time-Piece
+RUN_DEPENDS+= p5-Time-Piece>=1.02:${PORTSDIR}/devel/p5-Time-Piece
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/astro/p5-Astro-Coords/distinfo b/astro/p5-Astro-Coords/distinfo
new file mode 100644
index 000000000000..6db2c377499b
--- /dev/null
+++ b/astro/p5-Astro-Coords/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Astro-Coords-0.15.tar.gz) = 450f72b757d048030761f11285136bef121393051eaf33cc74d60ad5d7fb3562
+SIZE (Astro-Coords-0.15.tar.gz) = 83851
diff --git a/astro/p5-Astro-Coords/pkg-descr b/astro/p5-Astro-Coords/pkg-descr
new file mode 100644
index 000000000000..e1e512154cad
--- /dev/null
+++ b/astro/p5-Astro-Coords/pkg-descr
@@ -0,0 +1,13 @@
+Astro::Coords is a class for manipulating and transforming astronomical
+coordinates. Can handle the following coordinate types:
+- Equatorial RA/Dec, galactic (including proper motions and parallax)
+- Planets
+- Comets/Asteroids
+- Fixed locations in azimuth and elevations
+- Interpolated apparent coordinates
+
+For time dependent calculations a telescope location and reference time must be
+provided. See Astro::Telescope and DateTime for details on specifying location
+and reference epoch.
+
+WWW: http://search.cpan.org/dist/Astro-Coords/
diff --git a/astro/p5-Astro-Coords/pkg-plist b/astro/p5-Astro-Coords/pkg-plist
new file mode 100644
index 000000000000..f9e23cdafd2b
--- /dev/null
+++ b/astro/p5-Astro-Coords/pkg-plist
@@ -0,0 +1,13 @@
+%%SITE_PERL%%/Astro/Coords.pm
+%%SITE_PERL%%/Astro/Coords/Angle.pm
+%%SITE_PERL%%/Astro/Coords/Angle/Hour.pm
+%%SITE_PERL%%/Astro/Coords/Calibration.pm
+%%SITE_PERL%%/Astro/Coords/Elements.pm
+%%SITE_PERL%%/Astro/Coords/Equatorial.pm
+%%SITE_PERL%%/Astro/Coords/Fixed.pm
+%%SITE_PERL%%/Astro/Coords/Interpolated.pm
+%%SITE_PERL%%/Astro/Coords/Offset.pm
+%%SITE_PERL%%/Astro/Coords/Planet.pm
+@dirrmtry %%SITE_PERL%%/Astro/Coords/Angle
+@dirrmtry %%SITE_PERL%%/Astro/Coords
+@dirrmtry %%SITE_PERL%%/Astro