summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-07-10 07:00:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-07-10 07:00:17 +0000
commit1a034159536328a8e23a0ec4c87ebbf2e07e6ff6 (patch)
treeca41cd3de401134ce5a24a7a2aebe72552df5134 /astro
parent- Add p5-Astro-Telescope 0.71 (diff)
- 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/
Notes
Notes: svn path=/head/; revision=300711
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-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
5 files changed, 76 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 48c77340d7a7..69c9beffcab7 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -53,6 +53,7 @@
SUBDIR += p5-Astro-ADS
SUBDIR += p5-Astro-Catalog
SUBDIR += p5-Astro-Constants
+ SUBDIR += p5-Astro-Coords
SUBDIR += p5-Astro-DSS
SUBDIR += p5-Astro-FITS-CFITSIO
SUBDIR += p5-Astro-FITS-Header
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