git: fae5abf01c91 - main - games/sgt-puzzles: update 20230728 → 20230731
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Jul 2023 16:28:11 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=fae5abf01c915de80dfee51fced3d5bf8bb7b97b commit fae5abf01c915de80dfee51fced3d5bf8bb7b97b Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2023-07-31 14:41:35 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2023-07-31 16:06:06 +0000 games/sgt-puzzles: update 20230728 → 20230731 --- games/sgt-puzzles/Makefile | 13 +++++++++++-- games/sgt-puzzles/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/games/sgt-puzzles/Makefile b/games/sgt-puzzles/Makefile index 7da47463d747..b1b7e8ce8d22 100644 --- a/games/sgt-puzzles/Makefile +++ b/games/sgt-puzzles/Makefile @@ -1,5 +1,5 @@ PORTNAME= puzzles -PORTVERSION= 20230728 +PORTVERSION= 20230731 CATEGORIES= games # upstream does not preserve older versions, mirroring is mandatory MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ \ @@ -20,7 +20,7 @@ USES= cmake gnome magick:build perl5 pkgconfig USE_PERL5= build CMAKE_ARGS= -DNAME_PREFIX:STRING=sgt- -COMMITHASH= 9e4e15f +COMMITHASH= 29eaa8f DATADIR= ${PREFIX}/share/sgt-puzzles PORTDATA= * @@ -35,4 +35,13 @@ GTK2_USE= GNOME=gtk20 GTK3_CMAKE_ON= -DPUZZLES_GTK_VERSION=3 GTK3_USE= GNOME=gtk30 +maintainer-update: + @location=$$(curl -sI ${MASTER_SITES:[1]}/puzzles.tar.gz | grep -i ^location | awk '{print $$2}'); \ + version=$$(echo $$location | tr '.-' ' ' | awk '{print $$(NF-3)}'); \ + hash=$$(echo $$location | tr '.-' ' ' | awk '{print $$(NF-2)}'); \ + sed -i '' \ + -e "s|${COMMITHASH}|$$hash|" \ + -e "s|${PORTVERSION}|$$version|" \ + ${.CURDIR}/Makefile + .include <bsd.port.mk> diff --git a/games/sgt-puzzles/distinfo b/games/sgt-puzzles/distinfo index eac5b8598f72..99ae86d17935 100644 --- a/games/sgt-puzzles/distinfo +++ b/games/sgt-puzzles/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1690544530 -SHA256 (puzzles-20230728.9e4e15f.tar.gz) = 9ef02d3e421d181835c63712174ed607f37441599d739eecc44b63ead50f404e -SIZE (puzzles-20230728.9e4e15f.tar.gz) = 2484472 +TIMESTAMP = 1690813430 +SHA256 (puzzles-20230731.29eaa8f.tar.gz) = b3529583109032d75dd909a93e90ac101bd2539bb93229f6ff4f2224d209845c +SIZE (puzzles-20230731.29eaa8f.tar.gz) = 2484586