aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-05-25 09:27:37 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-05-25 10:05:45 +0000
commitec358c080eab6ef2115c0e52200c69149a710b80 (patch)
tree4502234c5ec078505fce627f0c0a3246159dfab6 /astro
parent2dac870500a785dd8b834b970e64f56c0a75e161 (diff)
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-rw-r--r--astro/cspice/Makefile29
-rw-r--r--astro/cspice/distinfo5
-rw-r--r--astro/cspice/pkg-descr5
-rw-r--r--astro/cspice/pkg-plist44
5 files changed, 84 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index baa751653a78..058898608309 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -8,6 +8,7 @@
SUBDIR += celestia
SUBDIR += celestia-gtk
SUBDIR += cfitsio
+ SUBDIR += cspice
SUBDIR += erfa
SUBDIR += fowsr
SUBDIR += foxtrotgps
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 <bsd.port.mk>
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