diff --git a/astro/astroterm/Makefile b/astro/astroterm/Makefile index 43125f97d630..f82f073ada28 100644 --- a/astro/astroterm/Makefile +++ b/astro/astroterm/Makefile @@ -1,46 +1,41 @@ 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 DISTFILES= BSC5:DATA \ ybsc5.gz:ASCIIDATA DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nxjoseph@protonmail.com COMMENT= Explore stars, planets, constellations, and more in your terminal! WWW= https://github.com/da-luce/astroterm LICENSE= MIT 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 PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFAULT= BINARY OPTIONS_SINGLE= DATA OPTIONS_SINGLE_DATA= ASCII BINARY ASCII_DESC= Download the data source in ASCII format BINARY_DESC= Download the data source in binary format -.include - -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 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