git: 6dc7ad3434eb - main - astro/gnuastro: update GNU Astronomy Utilities to version 0.21

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sun, 22 Oct 2023 07:11:54 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6dc7ad3434ebb93a2697c7ea7e3432950a33f66d

commit 6dc7ad3434ebb93a2697c7ea7e3432950a33f66d
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-10-22 07:10:52 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-10-22 07:10:52 +0000

    astro/gnuastro: update GNU Astronomy Utilities to version 0.21
    
    Reported by:    upstream maintainer, portscout
---
 astro/gnuastro/Makefile  |  6 ++++--
 astro/gnuastro/distinfo  |  6 +++---
 astro/gnuastro/pkg-plist | 15 ++++++++-------
 3 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/astro/gnuastro/Makefile b/astro/gnuastro/Makefile
index 331969a82cc5..1d2572e961ea 100644
--- a/astro/gnuastro/Makefile
+++ b/astro/gnuastro/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gnuastro
-PORTVERSION=	0.20
-PORTREVISION=	1
+PORTVERSION=	0.21
 CATEGORIES=	astro
 MASTER_SITES=	GNU
 
@@ -34,6 +33,9 @@ post-patch:
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's,gcc,$(CC),' \
 		${WRKSRC}/bin/buildprog/ui.c
+	@${REINPLACE_CMD} -e 's,^make -f,g&,' \
+		${WRKSRC}/bin/script/pointing-simulate.sh \
+		${WRKSRC}/bin/script/zeropoint.sh
 
 post-install:
 	@${FIND} ${STAGEDIR}${PREFIX}/etc -name \*.conf \
diff --git a/astro/gnuastro/distinfo b/astro/gnuastro/distinfo
index 083901bc0e59..7e679f8fe168 100644
--- a/astro/gnuastro/distinfo
+++ b/astro/gnuastro/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682799210
-SHA256 (gnuastro-0.20.tar.lz) = 56404a4b919e106742d74d9ce77402413c595b3da088272a98a9abd541537315
-SIZE (gnuastro-0.20.tar.lz) = 4600460
+TIMESTAMP = 1697816700
+SHA256 (gnuastro-0.21.tar.lz) = 8ce0ff6d4c7a7fd7978852b379767ed5fdf0c9c583d95788743abb7a8939d3ff
+SIZE (gnuastro-0.21.tar.lz) = 4728415
diff --git a/astro/gnuastro/pkg-plist b/astro/gnuastro/pkg-plist
index acaed88249de..d41b97aa6765 100644
--- a/astro/gnuastro/pkg-plist
+++ b/astro/gnuastro/pkg-plist
@@ -7,12 +7,12 @@ bin/astcrop
 bin/astfits
 bin/astmatch
 bin/astmkcatalog
-bin/astmknoise
 bin/astmkprof
 bin/astnoisechisel
 bin/astquery
 bin/astscript-ds9-region
 bin/astscript-fits-view
+bin/astscript-pointing-simulate
 bin/astscript-psf-scale-factor
 bin/astscript-psf-select-stars
 bin/astscript-psf-stamp
@@ -34,7 +34,6 @@ bin/astwarp
 @sample etc/astfits.conf.sample
 @sample etc/astmatch.conf.sample
 @sample etc/astmkcatalog.conf.sample
-@sample etc/astmknoise.conf.sample
 @sample etc/astmkprof-3d.conf.sample
 @sample etc/astmkprof.conf.sample
 @sample etc/astnoisechisel-3d.conf.sample
@@ -72,6 +71,7 @@ include/gnuastro/pdf.h
 include/gnuastro/permutation.h
 include/gnuastro/pointer.h
 include/gnuastro/polygon.h
+include/gnuastro/pool.h
 include/gnuastro/qsort.h
 include/gnuastro/speclines.h
 include/gnuastro/statistics.h
@@ -86,12 +86,12 @@ include/gnuastro/warp.h
 include/gnuastro/wcs.h
 lib/libgnuastro.a
 lib/libgnuastro.so
-lib/libgnuastro.so.18
-lib/libgnuastro.so.18.0.0
+lib/libgnuastro.so.19
+lib/libgnuastro.so.19.0.0
 lib/libgnuastro_make.a
 lib/libgnuastro_make.so
-lib/libgnuastro_make.so.18
-lib/libgnuastro_make.so.18.0.0
+lib/libgnuastro_make.so.19
+lib/libgnuastro_make.so.19.0.0
 libdata/pkgconfig/gnuastro.pc
 man/man1/astarithmetic.1.gz
 man/man1/astbuildprog.1.gz
@@ -102,12 +102,12 @@ man/man1/astcrop.1.gz
 man/man1/astfits.1.gz
 man/man1/astmatch.1.gz
 man/man1/astmkcatalog.1.gz
-man/man1/astmknoise.1.gz
 man/man1/astmkprof.1.gz
 man/man1/astnoisechisel.1.gz
 man/man1/astquery.1.gz
 man/man1/astscript-ds9-region.1.gz
 man/man1/astscript-fits-view.1.gz
+man/man1/astscript-pointing-simulate.1.gz
 man/man1/astscript-psf-scale-factor.1.gz
 man/man1/astscript-psf-select-stars.1.gz
 man/man1/astscript-psf-stamp.1.gz
@@ -151,4 +151,5 @@ share/info/gnuastro-figures/sphereandplane.png
 share/info/gnuastro-figures/sphereandplane.txt
 %%DATADIR%%/astscript-fits-view.desktop
 %%DATADIR%%/completion.bash
+%%DATADIR%%/pointing-simulate.mk
 %%DATADIR%%/zeropoint.mk