library for astronomical computations, used by kstars in kde4
This commit is contained in:
parent
45af49999e
commit
f22ea28e93
27
astro/libnova/Makefile
Normal file
27
astro/libnova/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/02/08 23:25:56 espie Exp $
|
||||
|
||||
COMMENT = astronomic computations as a library
|
||||
|
||||
CATEGORIES = astro devel
|
||||
HOMEPAGE = http://libnova.sourceforge.net/
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libnova/}
|
||||
DISTNAME = libnova-0.12.1
|
||||
|
||||
SHARED_LIBS += nova 0.0 # .1.0
|
||||
|
||||
# LGPL
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
USE_LIBTOOL = Yes
|
||||
SEPARATE_BUILD = simple
|
||||
|
||||
# cheat until we get long double trigonometry
|
||||
MAKE_FLAGS = CPPFLAGS='-Dcosl=cos -Dsinl=sin -Dacosl=acos -Dasinl=asin -Datan2l=atan2'
|
||||
|
||||
WANTLIB += c m
|
||||
|
||||
.include <bsd.port.mk>
|
5
astro/libnova/distinfo
Normal file
5
astro/libnova/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libnova-0.12.1.tar.gz) = 8L/7LrC/oEHkxNl2Sq3ZTQ==
|
||||
RMD160 (libnova-0.12.1.tar.gz) = qT2KhggU8W5UQK6BomderB6jOqY=
|
||||
SHA1 (libnova-0.12.1.tar.gz) = sn2bDW8C9DA6eQvOVlcfhfJJLnU=
|
||||
SHA256 (libnova-0.12.1.tar.gz) = gFNEXoYkE6jgQiZCkNp9cL+i7Ua0WWyGtnliggthRi8=
|
||||
SIZE (libnova-0.12.1.tar.gz) = 1498120
|
12
astro/libnova/patches/patch-src_Makefile_in
Normal file
12
astro/libnova/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2008/02/08 23:25:56 espie Exp $
|
||||
--- src/Makefile.in.orig Mon Feb 4 16:03:39 2008
|
||||
+++ src/Makefile.in Mon Feb 4 16:04:22 2008
|
||||
@@ -100,7 +100,7 @@ lib_LTLIBRARIES = libnova.la
|
||||
libnova_la_SOURCES = julian_day.c dynamical_time.c sidereal_time.c transform.c nutation.c aberration.c apparent_position.c solar.c precession.c proper_motion.c mercury.c venus.c earth.c mars.c jupiter.c saturn.c uranus.c neptune.c pluto.c vsop87.c lunar.c elliptic_motion.c asteroid.c comet.c parabolic_motion.c utility.c refraction.c rise_set.c angular_separation.c hyperbolic_motion.c parallax.c airmass.c
|
||||
|
||||
|
||||
-libnova_la_LDFLAGS = -version-info $(LT_VERSION) -release $(LT_RELEASE) -no-undefined -export-dynamic
|
||||
+libnova_la_LDFLAGS = -version-info $(LT_VERSION) -no-undefined -export-dynamic
|
||||
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
27
astro/libnova/pkg/DESCR
Normal file
27
astro/libnova/pkg/DESCR
Normal file
@ -0,0 +1,27 @@
|
||||
libnova is a general purpose, double precision, Celestial Mechanics,
|
||||
Astrometry and Astrodynamics library.
|
||||
|
||||
Currently computes:
|
||||
|
||||
* Aberration
|
||||
* Nutation
|
||||
* Apparent Position
|
||||
* Dynamical Time
|
||||
* Julian Day
|
||||
* Precession
|
||||
* Proper Motion
|
||||
* Sidereal Time
|
||||
* Solar Coordinates (using VSOP87)
|
||||
* Coordinate Transformations
|
||||
* Planetary Positions Mercury - Pluto (Mercury - Neptune using VSOP87)
|
||||
* Planetary Magnitude, illuminated disk and phase angle.
|
||||
* Lunar Position (using ELP82), phase angle.
|
||||
* Elliptic Motion of bodies (Asteroid + Comet positional and orbit data)
|
||||
* Asteroid + Comet magnitudes
|
||||
* Parabolic Motion of bodies (Comet positional data)
|
||||
* Orbit velocities and lengths
|
||||
* Atmospheric refraction
|
||||
* Rise, Set and Transit times.
|
||||
* Semidiameters of the Sun, Moon, Planets and asteroids.
|
||||
* Angular separation of bodies
|
||||
* Hyperbolic motion of bodies
|
2
astro/libnova/pkg/PFRAG.shared
Normal file
2
astro/libnova/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/02/08 23:25:56 espie Exp $
|
||||
@lib lib/libnova.so.${LIBnova_VERSION}
|
40
astro/libnova/pkg/PLIST
Normal file
40
astro/libnova/pkg/PLIST
Normal file
@ -0,0 +1,40 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/08 23:25:56 espie Exp $
|
||||
%%SHARED%%
|
||||
bin/libnovaconfig
|
||||
include/libnova/
|
||||
include/libnova/aberration.h
|
||||
include/libnova/airmass.h
|
||||
include/libnova/angular_separation.h
|
||||
include/libnova/apparent_position.h
|
||||
include/libnova/asteroid.h
|
||||
include/libnova/comet.h
|
||||
include/libnova/dynamical_time.h
|
||||
include/libnova/earth.h
|
||||
include/libnova/elliptic_motion.h
|
||||
include/libnova/hyperbolic_motion.h
|
||||
include/libnova/julian_day.h
|
||||
include/libnova/jupiter.h
|
||||
include/libnova/libnova.h
|
||||
include/libnova/ln_types.h
|
||||
include/libnova/lunar.h
|
||||
include/libnova/mars.h
|
||||
include/libnova/mercury.h
|
||||
include/libnova/neptune.h
|
||||
include/libnova/nutation.h
|
||||
include/libnova/parabolic_motion.h
|
||||
include/libnova/parallax.h
|
||||
include/libnova/pluto.h
|
||||
include/libnova/precession.h
|
||||
include/libnova/proper_motion.h
|
||||
include/libnova/refraction.h
|
||||
include/libnova/rise_set.h
|
||||
include/libnova/saturn.h
|
||||
include/libnova/sidereal_time.h
|
||||
include/libnova/solar.h
|
||||
include/libnova/transform.h
|
||||
include/libnova/uranus.h
|
||||
include/libnova/utility.h
|
||||
include/libnova/venus.h
|
||||
include/libnova/vsop87.h
|
||||
lib/libnova.a
|
||||
lib/libnova.la
|
Loading…
Reference in New Issue
Block a user