diff options
Diffstat (limited to 'astro/astroterm')
-rw-r--r-- | astro/astroterm/Makefile | 22 | ||||
-rw-r--r-- | astro/astroterm/distinfo | 12 |
2 files changed, 26 insertions, 8 deletions
diff --git a/astro/astroterm/Makefile b/astro/astroterm/Makefile index 1b4c6959a950..43125f97d630 100644 --- a/astro/astroterm/Makefile +++ b/astro/astroterm/Makefile @@ -1,9 +1,11 @@ PORTNAME= astroterm DISTVERSIONPREFIX= v -DISTVERSION= 1.0.7 +DISTVERSION= 1.0.9 CATEGORIES= astro -MASTER_SITES= https://web.archive.org/web/20231007085824if_/http://tdc-www.harvard.edu/catalogs/:DATA -DISTFILES= BSC5:DATA +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} @@ -23,8 +25,22 @@ 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 <bsd.port.options.mk> + post-extract: +.if ${PORT_OPTIONS:MBINARY} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/BSC5 \ ${WRKSRC}/data/bsc5 +.endif +.if ${PORT_OPTIONS:MASCII} + ${GZIP_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/ybsc5.gz > ${WRKSRC}/data/ybsc5 +.endif .include <bsd.port.mk> diff --git a/astro/astroterm/distinfo b/astro/astroterm/distinfo index 7dd77a8b1d08..98d795d1b5e8 100644 --- a/astro/astroterm/distinfo +++ b/astro/astroterm/distinfo @@ -1,5 +1,7 @@ -TIMESTAMP = 1739416073 -SHA256 (astroterm-1.0.7/BSC5) = e471d02eaf4eecb61c12f879a1cb6432ba9d7b68a9a8c5654a1eb42a0c8cc340 -SIZE (astroterm-1.0.7/BSC5) = 291548 -SHA256 (astroterm-1.0.7/da-luce-astroterm-v1.0.7_GH0.tar.gz) = 3b8b1597afb31d1cb8ad54030b5766652b4d3f42f0a3d510bbc3191c0c6a4aa5 -SIZE (astroterm-1.0.7/da-luce-astroterm-v1.0.7_GH0.tar.gz) = 20463291 +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 |