diff --git a/astro/Makefile b/astro/Makefile index c75416f2e648..74793fabccd0 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -1,141 +1,142 @@ COMMENT = Astronomical ports SUBDIR += R-cran-maptools SUBDIR += accrete SUBDIR += astrometry SUBDIR += celestia SUBDIR += celestia-gtk SUBDIR += cfitsio SUBDIR += erfa SUBDIR += fowsr SUBDIR += foxtrotgps SUBDIR += geographiclib SUBDIR += gkrellmoon2 SUBDIR += gnuastro SUBDIR += gpsbabel SUBDIR += gpsbabel14 SUBDIR += gpscorrelate SUBDIR += gpsd SUBDIR += gpsman SUBDIR += gpsprune SUBDIR += gpstk SUBDIR += gpxloggerd SUBDIR += indiwebmanagerapp SUBDIR += jday SUBDIR += josm SUBDIR += kosmindoormap SUBDIR += kosmorro SUBDIR += kstars SUBDIR += libgal SUBDIR += libnova SUBDIR += libosmium SUBDIR += libosmpbf SUBDIR += luna SUBDIR += marble SUBDIR += match SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter SUBDIR += mymoon SUBDIR += nightfall SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar SUBDIR += osmosis SUBDIR += p5-Astro SUBDIR += p5-Astro-ADS SUBDIR += p5-Astro-App-Satpass2 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 SUBDIR += p5-Astro-Flux SUBDIR += p5-Astro-Hipparcos SUBDIR += p5-Astro-MoonPhase SUBDIR += p5-Astro-PAL SUBDIR += p5-Astro-SIMBAD SUBDIR += p5-Astro-SIMBAD-Client SUBDIR += p5-Astro-SpaceTrack SUBDIR += p5-Astro-SunTime SUBDIR += p5-Astro-Sunrise SUBDIR += p5-Astro-Telescope SUBDIR += p5-Astro-WaveBand SUBDIR += p5-Astro-satpass SUBDIR += p5-GPS SUBDIR += p5-GPS-Babel SUBDIR += p5-GPS-OID SUBDIR += p5-GPS-Point SUBDIR += p5-Geo-METAR SUBDIR += p5-Misc-Quality SUBDIR += p5-Net-GPSD3 SUBDIR += p5-Starlink-AST SUBDIR += p5-Weather-Underground + SUBDIR += pal SUBDIR += phd2 SUBDIR += phoon SUBDIR += pp3 SUBDIR += ptiger SUBDIR += py-astlib SUBDIR += py-astral SUBDIR += py-astropy SUBDIR += py-astropy-helpers SUBDIR += py-ephem SUBDIR += py-extension-helpers SUBDIR += py-horoscopegenerator SUBDIR += py-indiweb SUBDIR += py-jplephem SUBDIR += py-kosmorrolib SUBDIR += py-metar SUBDIR += py-metpy SUBDIR += py-pyerfa SUBDIR += py-pykep SUBDIR += py-pymeeus SUBDIR += py-pymetar SUBDIR += py-pysofa SUBDIR += py-pywapi SUBDIR += py-ro SUBDIR += py-sgp4 SUBDIR += py-skyfield SUBDIR += py-skyfield-data SUBDIR += py-spacetrack SUBDIR += py-spktype01 SUBDIR += py-spktype21 SUBDIR += pykep SUBDIR += pyweather SUBDIR += qmapshack SUBDIR += readosm SUBDIR += rmap SUBDIR += routino SUBDIR += sextractor SUBDIR += siril SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium SUBDIR += stellarsolver SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap SUBDIR += wcslib SUBDIR += weather SUBDIR += wmglobe SUBDIR += wmjupiter SUBDIR += wmmoonclock SUBDIR += wmsolar SUBDIR += wmspaceweather SUBDIR += wmsun SUBDIR += xearth SUBDIR += xeartk SUBDIR += xephem SUBDIR += xmoontool SUBDIR += xphoon SUBDIR += xplanet SUBDIR += xtide SUBDIR += xworld .include diff --git a/astro/pal/Makefile b/astro/pal/Makefile new file mode 100644 index 000000000000..bbcaccbff909 --- /dev/null +++ b/astro/pal/Makefile @@ -0,0 +1,36 @@ +PORTNAME= pal +DISTVERSION= 0.9.8 +CATEGORIES= astro geography +MASTER_SITES= https://github.com/Starlink/pal/releases/download/v${DISTVERSION}/ +PKGNAMESUFFIX= -astronomical + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Positional Astronomy Library + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= liberfa.so:astro/erfa + +USES= gmake libtool +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +PLIST_FILES= include/star/pal.h \ + include/star/palmac.h \ + lib/libpal.a \ + lib/libpal.so \ + lib/libpal.so.0 \ + lib/libpal.so.0.0.0 + +post-install: # remove manifest file that contains stage dir, news and docs directories, and datadir with licenses + @${RM} -r \ + ${STAGEDIR}${PREFIX}/manifests \ + ${STAGEDIR}${PREFIX}/news \ + ${STAGEDIR}${PREFIX}/docs \ + ${STAGEDIR}${DATADIR} + +.include diff --git a/astro/pal/distinfo b/astro/pal/distinfo new file mode 100644 index 000000000000..718c6209b8b2 --- /dev/null +++ b/astro/pal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661467182 +SHA256 (pal-0.9.8.tar.gz) = 191fde8c4f45d6807d4b011511344014966bb46e44029a4481d070cd5e7cc697 +SIZE (pal-0.9.8.tar.gz) = 1267834 diff --git a/astro/pal/pkg-descr b/astro/pal/pkg-descr new file mode 100644 index 000000000000..b882427b2962 --- /dev/null +++ b/astro/pal/pkg-descr @@ -0,0 +1,12 @@ +The PAL library is a partial re-implementation of Pat Wallace's popular SLALIB +library written in C using a Gnu GPL license and layered on top of the IAU's +SOFA library (or the BSD-licensed ERFA) where appropriate. PAL attempts to stick +to the SLA C API where possible although palObs() has a more C-like API than the +equivalent slaObs() function. In most cases it is enough to simply change the +function prefix of a routine in order to link against PAL rather than SLALIB. +Routines calling SOFA use modern notation and precession models so will return +slightly different answers than native SLALIB. PAL functions not available in +SOFA were ported from the Fortran version of SLALIB that ships as part of the +Starlink software and uses a GPL licence. + +WWW: https://github.com/Starlink/pal