git: 585fa0a41dc7 - main - textproc/goldendict: update the port to (finally) tagged version 1.5.0

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 31 May 2023 07:35:36 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=585fa0a41dc71223a6e1fe2d9554582983bbe991

commit 585fa0a41dc71223a6e1fe2d9554582983bbe991
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-05-31 07:34:18 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-05-31 07:34:18 +0000

    textproc/goldendict: update the port to (finally) tagged version 1.5.0
    
    Via (news item): https://www.opennet.ru/opennews/art.shtml?num=59219
---
 textproc/goldendict/Makefile | 6 ++----
 textproc/goldendict/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile
index 5ad408f0676d..b9891367712b 100644
--- a/textproc/goldendict/Makefile
+++ b/textproc/goldendict/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	goldendict
-DISTVERSION=	1.5.0-g20220602
-PORTREVISION=	2
+PORTVERSION=	1.5.0
 CATEGORIES=	textproc
 
 MAINTAINER=	danfe@FreeBSD.org
@@ -20,7 +19,6 @@ LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell \
 USES=		compiler:c++11-lang gnome iconv:wchar_t pkgconfig \
 		qmake qt:5 xorg
 USE_GITHUB=	yes
-GH_TAGNAME=	99982a1
 USE_XORG=	x11 xtst
 USE_QT=		buildtools:build linguisttools:build core gui help \
 		network printsupport sql svg webkit widgets \
@@ -47,7 +45,7 @@ OPENCC_LIB_DEPENDS=	libopencc.so:chinese/opencc
 OPENCC_QMAKE_ON=	CONFIG+="chinese_conversion_support"
 
 post-patch:
-	@${REINPLACE_CMD} -e '/^VERSION = /s,git,&${GH_TAGNAME},' \
+	@${REINPLACE_CMD} -e '/^VERSION = /s,git,&-8c5b26a,' \
 		${WRKSRC}/goldendict.pro
 	@${REINPLACE_CMD} -e '/^#include <stdio\.h>/ { x; \
 		s/^/#include <locale.h>/; G; }' ${WRKSRC}/main.cc
diff --git a/textproc/goldendict/distinfo b/textproc/goldendict/distinfo
index 194fc3086c3e..0da8605bc2e9 100644
--- a/textproc/goldendict/distinfo
+++ b/textproc/goldendict/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654167073
-SHA256 (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 138ea766bb2260a2bcc75327c2c900080fef5cb82edbb94aed1977d46a4c41af
-SIZE (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 20351546
+TIMESTAMP = 1685371891
+SHA256 (goldendict-goldendict-1.5.0_GH0.tar.gz) = f9f8e068ece74cc026fdc5f56615246228b4e70c97c7197ccd4c14ceae412c7c
+SIZE (goldendict-goldendict-1.5.0_GH0.tar.gz) = 20371681