diff --git a/astro/liberfa/Makefile b/astro/liberfa/Makefile new file mode 100644 index 00000000000..c96ce1a6bbf --- /dev/null +++ b/astro/liberfa/Makefile @@ -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 diff --git a/astro/liberfa/distinfo b/astro/liberfa/distinfo new file mode 100644 index 00000000000..9e8c54fb0f2 --- /dev/null +++ b/astro/liberfa/distinfo @@ -0,0 +1,2 @@ +SHA256 (erfa-2.0.1.tar.xz) = RREfCt3272k0Wq8JO9BUcFtBrC23VB3T8OEFNiyOIOQ= +SIZE (erfa-2.0.1.tar.xz) = 216028 diff --git a/astro/liberfa/pkg/DESCR b/astro/liberfa/pkg/DESCR new file mode 100644 index 00000000000..ecda9c93a0f --- /dev/null +++ b/astro/liberfa/pkg/DESCR @@ -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. diff --git a/astro/liberfa/pkg/PLIST b/astro/liberfa/pkg/PLIST new file mode 100644 index 00000000000..0bb53738b09 --- /dev/null +++ b/astro/liberfa/pkg/PLIST @@ -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