git: 8369d188323b - main - astro/astroterm: Update 1.0.9 => 1.0.10

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 16 Jan 2026 21:20:44 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8369d188323b733504d484ad3f567d2b6223cfc4

commit 8369d188323b733504d484ad3f567d2b6223cfc4
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2026-01-16 21:18:11 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-16 21:20:23 +0000

    astro/astroterm: Update 1.0.9 => 1.0.10
    
    Changelog:
    https://github.com/da-luce/astroterm/releases/tag/v1.0.10
    
    Convert "if PORT_OPTIONS:MOPT" to "post-extract-OPT-on".
    
    PR:     292507
---
 astro/astroterm/Makefile | 17 ++++++-----------
 astro/astroterm/distinfo | 14 +++++++-------
 2 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/astro/astroterm/Makefile b/astro/astroterm/Makefile
index 43125f97d630..f82f073ada28 100644
--- a/astro/astroterm/Makefile
+++ b/astro/astroterm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	astroterm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0.9
+DISTVERSION=	1.0.10
 CATEGORIES=	astro
 MASTER_SITES=	https://web.archive.org/web/20231007085824if_/http://tdc-www.harvard.edu/catalogs/:DATA \
 		https://web.archive.org/web/20250114171002if_/http://tdc-www.harvard.edu/catalogs/:ASCIIDATA
@@ -19,7 +19,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	xxd:sysutils/xxd
 LIB_DEPENDS=	libargtable2.so:devel/argtable
 
-USES=		compiler meson ncurses ninja pkgconfig
+USES=		meson ncurses ninja pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	da-luce
 
@@ -32,15 +32,10 @@ OPTIONS_SINGLE_DATA=	ASCII BINARY
 ASCII_DESC=	Download the data source in ASCII format
 BINARY_DESC=	Download the data source in binary format
 
-.include <bsd.port.options.mk>
-
-post-extract:
-.if ${PORT_OPTIONS:MBINARY}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/BSC5 \
-		${WRKSRC}/data/bsc5
-.endif
-.if ${PORT_OPTIONS:MASCII}
+post-extract-ASCII-on:
 	${GZIP_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/ybsc5.gz > ${WRKSRC}/data/ybsc5
-.endif
+
+post-extract-BINARY-on:
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/BSC5 ${WRKSRC}/data/bsc5
 
 .include <bsd.port.mk>
diff --git a/astro/astroterm/distinfo b/astro/astroterm/distinfo
index 98d795d1b5e8..4aa7db388857 100644
--- a/astro/astroterm/distinfo
+++ b/astro/astroterm/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1756549522
-SHA256 (astroterm-1.0.9/BSC5) = e471d02eaf4eecb61c12f879a1cb6432ba9d7b68a9a8c5654a1eb42a0c8cc340
-SIZE (astroterm-1.0.9/BSC5) = 291548
-SHA256 (astroterm-1.0.9/ybsc5.gz) = 3dc44b1e90be8fbe5bcc7656032560f51275f985c7e3f783c9028e1838ec7bed
-SIZE (astroterm-1.0.9/ybsc5.gz) = 573921
-SHA256 (astroterm-1.0.9/da-luce-astroterm-v1.0.9_GH0.tar.gz) = d96d70c644b258ed0adc3a700e6af122659ecabf3eed60d7cfb6810b5068f3eb
-SIZE (astroterm-1.0.9/da-luce-astroterm-v1.0.9_GH0.tar.gz) = 20467780
+TIMESTAMP = 1768580837
+SHA256 (astroterm-1.0.10/BSC5) = e471d02eaf4eecb61c12f879a1cb6432ba9d7b68a9a8c5654a1eb42a0c8cc340
+SIZE (astroterm-1.0.10/BSC5) = 291548
+SHA256 (astroterm-1.0.10/ybsc5.gz) = 3dc44b1e90be8fbe5bcc7656032560f51275f985c7e3f783c9028e1838ec7bed
+SIZE (astroterm-1.0.10/ybsc5.gz) = 573921
+SHA256 (astroterm-1.0.10/da-luce-astroterm-v1.0.10_GH0.tar.gz) = 6d9d61b818b01bd951d5340f09486bdc66aa107259acf78dfa8c3f875a36ea1f
+SIZE (astroterm-1.0.10/da-luce-astroterm-v1.0.10_GH0.tar.gz) = 20468120