import ports/astro/liberfa, ok tb

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),
https://www.iausofa.org/

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. Permission for this release
has been obtained from the SOFA board, and is available in the LICENSE
file included in this source distribution.
This commit is contained in:
sthen
2025-12-28 13:08:58 +00:00
parent a9dcb066cb
commit b28bf60b83
4 changed files with 51 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
COMMENT= Essential Routines for Fundamental Astronomy
V= 2.0.1
DISTNAME= erfa-$V
PKGNAME= liberfa-$V
EXTRACT_SUFX= .tar.xz
SHARED_LIBS += erfa 0.0 # 1.8.1
CATEGORIES= astro
HOMEPAGE= https://github.com/liberfa/erfa
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= m
SITES= https://github.com/liberfa/erfa/releases/download/v$V/
MODULES= devel/meson
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/liberfa
${INSTALL_DATA} ${WRKSRC}/{INFO,README*,LICENSE} \
${PREFIX}/share/doc/liberfa
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (erfa-2.0.1.tar.xz) = RREfCt3272k0Wq8JO9BUcFtBrC23VB3T8OEFNiyOIOQ=
SIZE (erfa-2.0.1.tar.xz) = 216028
+11
View File
@@ -0,0 +1,11 @@
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),
https://www.iausofa.org/
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. Permission for this release
has been obtained from the SOFA board, and is available in the LICENSE
file included in this source distribution.
+10
View File
@@ -0,0 +1,10 @@
include/erfa.h
include/erfadatextra.h
include/erfaextra.h
include/erfam.h
@lib lib/liberfa.so.${LIBerfa_VERSION}
lib/pkgconfig/erfa.pc
share/doc/liberfa/
share/doc/liberfa/INFO
share/doc/liberfa/LICENSE
share/doc/liberfa/README.rst