mirror of https://git.FreeBSD.org/ports.git
astro/astroterm: Update 1.0.8 => 1.0.9
While here, create options to be able to decide to download the data source as Binary or in ASCII format. Changelog: - https://github.com/da-luce/astroterm/releases/tag/v1.0.9 PR: 289182 Reported by: Yusuf Yaman <nxjoseph@protonmail.com> (maintainer)
This commit is contained in:
parent
ffe137af1e
commit
f8d3e056cc
|
@ -1,9 +1,11 @@
|
|||
PORTNAME= astroterm
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.8
|
||||
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>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
TIMESTAMP = 1752484050
|
||||
SHA256 (astroterm-1.0.8/BSC5) = e471d02eaf4eecb61c12f879a1cb6432ba9d7b68a9a8c5654a1eb42a0c8cc340
|
||||
SIZE (astroterm-1.0.8/BSC5) = 291548
|
||||
SHA256 (astroterm-1.0.8/da-luce-astroterm-v1.0.8_GH0.tar.gz) = d7205aeca4a8de372938b103c4ed787a8430150f7d4254151e2148434e9d4430
|
||||
SIZE (astroterm-1.0.8/da-luce-astroterm-v1.0.8_GH0.tar.gz) = 20465560
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue