diff --git a/astro/Makefile b/astro/Makefile index baa751653a78..058898608309 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -1,157 +1,158 @@ COMMENT = Astronomical ports SUBDIR += accrete SUBDIR += astrometry SUBDIR += astroterm SUBDIR += calceph SUBDIR += calcmysky SUBDIR += celestia SUBDIR += celestia-gtk SUBDIR += cfitsio + SUBDIR += cspice SUBDIR += erfa SUBDIR += fowsr SUBDIR += foxtrotgps SUBDIR += geographiclib SUBDIR += gkrellmoon2 SUBDIR += gnuastro SUBDIR += google-earth-pro 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 += mepo SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter SUBDIR += nightfall SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar SUBDIR += osmium-tool 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 += pngphoon SUBDIR += pp3 SUBDIR += py-alerce SUBDIR += py-astlib SUBDIR += py-astral SUBDIR += py-astroML SUBDIR += py-astropy SUBDIR += py-astropy-healpix SUBDIR += py-astropy-helpers SUBDIR += py-astropy-iers-data SUBDIR += py-astroquery SUBDIR += py-ephem SUBDIR += py-extension-helpers SUBDIR += py-fitsio 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-pysolar SUBDIR += py-pytest-astropy SUBDIR += py-pytest-astropy-header SUBDIR += py-pyvo 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 += py-sunpy SUBDIR += pykep SUBDIR += pyweather SUBDIR += qmapshack SUBDIR += readosm SUBDIR += rmap SUBDIR += routino SUBDIR += sextractor SUBDIR += siril SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starfetch SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium SUBDIR += stellarsolver SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe SUBDIR += traccar SUBDIR += viking SUBDIR += wcslib SUBDIR += weather SUBDIR += wmglobe SUBDIR += wmjupiter SUBDIR += wmmoonclock SUBDIR += wmsolar SUBDIR += wmspaceweather SUBDIR += wmsun SUBDIR += xearth SUBDIR += xephem SUBDIR += xmoontool SUBDIR += xphoon SUBDIR += xplanet SUBDIR += xtide SUBDIR += xworld .include diff --git a/astro/cspice/Makefile b/astro/cspice/Makefile new file mode 100644 index 000000000000..2045091520ac --- /dev/null +++ b/astro/cspice/Makefile @@ -0,0 +1,29 @@ +PORTNAME= cspice +DISTVERSION= 67 +CATEGORIES= astro +MASTER_SITES= https://naif.jpl.nasa.gov/pub/naif/misc/toolkit_N0067/C/PC_Linux_GCC_64bit/packages/:cspice_src +DISTFILES= cspice.tar.Z:cspice_src + +MAINTAINER= yuri@FreeBSD.org +COMMENT= NAIF C SPICE Toolkit +WWW= https://naif.jpl.nasa.gov/naif/toolkit.html \ + https://github.com/AndrewAnnex/cspice-cmake-spiceypy + +LICENSE= NAIF +LICENSE_NAME= NAIF CSPICE License +LICENSE_TEXT= See https://naif.jpl.nasa.gov/naif/rules.html +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +USES= cmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= AndrewAnnex +GH_PROJECT= cspice-cmake-spiceypy +GH_TAGNAME= 658aa8b0116dc5e33a084c0aeb6eb9f9fc8fc1b3 # CMakeLists.txt has: set(CSPICE_VERSION_INT 67), otherwise the project is tagged with irrelevant version numbers + +CONFIGURE_ENV= CSPICE_SRC=${WRKDIR}/cspice +CMAKE_ARGS= -DBUILD_TESTING=OFF \ + -DBUILD_EXECUTABLES=OFF + +.include diff --git a/astro/cspice/distinfo b/astro/cspice/distinfo new file mode 100644 index 000000000000..4ee2de0f4bcc --- /dev/null +++ b/astro/cspice/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1779700965 +SHA256 (cspice.tar.Z) = 60a95b51a6472f1afe7e40d77ebdee43c12bb5b8823676ccc74692ddfede06ce +SIZE (cspice.tar.Z) = 42676733 +SHA256 (AndrewAnnex-cspice-cmake-spiceypy-67-658aa8b0116dc5e33a084c0aeb6eb9f9fc8fc1b3_GH0.tar.gz) = 3677a03273f6366f522f2bbb06f4526ccb53c5a94b8527284b1cc5dac08e1b43 +SIZE (AndrewAnnex-cspice-cmake-spiceypy-67-658aa8b0116dc5e33a084c0aeb6eb9f9fc8fc1b3_GH0.tar.gz) = 10837 diff --git a/astro/cspice/pkg-descr b/astro/cspice/pkg-descr new file mode 100644 index 000000000000..dedad3685784 --- /dev/null +++ b/astro/cspice/pkg-descr @@ -0,0 +1,5 @@ +The NAIF C SPICE Toolkit provides a comprehensive set of +subroutines and functions for computing many common geometry +calculations and manipulations used in planning and analyzing +space science observations. It is used by the spiceypy Python +wrapper and other astrodynamics packages. diff --git a/astro/cspice/pkg-plist b/astro/cspice/pkg-plist new file mode 100644 index 000000000000..62d743e8e1a2 --- /dev/null +++ b/astro/cspice/pkg-plist @@ -0,0 +1,44 @@ +include/cspice/SpiceCK.h +include/cspice/SpiceCel.h +include/cspice/SpiceDAS.h +include/cspice/SpiceDLA.h +include/cspice/SpiceDSK.h +include/cspice/SpiceDtl.h +include/cspice/SpiceEK.h +include/cspice/SpiceEll.h +include/cspice/SpiceErr.h +include/cspice/SpiceFrm.h +include/cspice/SpiceGF.h +include/cspice/SpiceOccult.h +include/cspice/SpiceOsc.h +include/cspice/SpicePln.h +include/cspice/SpiceSCLK.h +include/cspice/SpiceSPK.h +include/cspice/SpiceSrf.h +include/cspice/SpiceUsr.h +include/cspice/SpiceZad.h +include/cspice/SpiceZdf.h +include/cspice/SpiceZfc.h +include/cspice/SpiceZim.h +include/cspice/SpiceZmc.h +include/cspice/SpiceZpl.h +include/cspice/SpiceZpr.h +include/cspice/SpiceZrnm.h +include/cspice/SpiceZst.h +include/cspice/f2c.h +include/cspice/f2cMang.h +include/cspice/fio.h +include/cspice/fmt.h +include/cspice/fp.h +include/cspice/lio.h +include/cspice/rawio.h +include/cspice/signal1.h +include/cspice/zzalloc.h +include/cspice/zzerror.h +lib/cmake/cspice/cspiceConfig.cmake +lib/cmake/cspice/cspiceConfigVersion.cmake +lib/cmake/cspice/cspiceTargets-release.cmake +lib/cmake/cspice/cspiceTargets.cmake +lib/libcspice.so +lib/libcspice.so.67 +lib/libcspice.so.67.0.0