summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-25 13:46:38 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-25 13:47:17 -0700
commitd987bbace83c8a06e2f48e4c83e4289fa827e93c (patch)
treee9dc015f53ce4bb892221f94fb5326f28f5e5bc8 /astro
parent542382c041d2bbd2e25a662cfa489f1318c2cb77 (diff)
downloadfreebsd-ports-d987bbace83c8a06e2f48e4c83e4289fa827e93c.zip
astro/erfa: New port: Essential Routines for Fundamental Astronomy
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-rw-r--r--astro/erfa/Makefile19
-rw-r--r--astro/erfa/distinfo3
-rw-r--r--astro/erfa/pkg-descr10
-rw-r--r--astro/erfa/pkg-plist9
5 files changed, 42 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 025ed9005cd7..c75416f2e648 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -6,6 +6,7 @@
SUBDIR += celestia
SUBDIR += celestia-gtk
SUBDIR += cfitsio
+ SUBDIR += erfa
SUBDIR += fowsr
SUBDIR += foxtrotgps
SUBDIR += geographiclib
diff --git a/astro/erfa/Makefile b/astro/erfa/Makefile
new file mode 100644
index 000000000000..41167f30ea35
--- /dev/null
+++ b/astro/erfa/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= erfa
+DISTVERSION= 2.0.0
+CATEGORIES= astro geography
+MASTER_SITES= https://github.com/liberfa/erfa/releases/download/v${DISTVERSION}/
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Essential Routines for Fundamental Astronomy
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= autoreconf gmake libtool
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/astro/erfa/distinfo b/astro/erfa/distinfo
new file mode 100644
index 000000000000..bb95c04ef7aa
--- /dev/null
+++ b/astro/erfa/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661460075
+SHA256 (erfa-2.0.0.tar.gz) = 75cb0a2cc1561d24203d9d0e67c21f105e45a70181d57f158e64a46a50ccd515
+SIZE (erfa-2.0.0.tar.gz) = 729292
diff --git a/astro/erfa/pkg-descr b/astro/erfa/pkg-descr
new file mode 100644
index 000000000000..968459fb94ce
--- /dev/null
+++ b/astro/erfa/pkg-descr
@@ -0,0 +1,10 @@
+ERFA (Essential Routines for Fundamental Astronomy) is a C library containing
+key algorithms for astronomy, and is based on the SOFA library published by the
+International Astronomical Union (IAU).
+
+ERFA is intended to replicate the functionality of SOFA (aside from possible
+bugfixes in ERFA that have not yet been included in SOFA), but is licensed under
+a three-clause BSD license to enable its compatibility with a wide range of open
+source licenses.
+
+WWW: https://github.com/liberfa/erfa
diff --git a/astro/erfa/pkg-plist b/astro/erfa/pkg-plist
new file mode 100644
index 000000000000..ca016eb232ee
--- /dev/null
+++ b/astro/erfa/pkg-plist
@@ -0,0 +1,9 @@
+include/erfa.h
+include/erfadatextra.h
+include/erfaextra.h
+include/erfam.h
+lib/liberfa.a
+lib/liberfa.so
+lib/liberfa.so.1
+lib/liberfa.so.1.8.0
+libdata/pkgconfig/erfa.pc