git: 570d9bca980f - main - deskutils/when: Fix fetch

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 15:54:01 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=570d9bca980f1af017d6aac90a5ab1bef0861693

commit 570d9bca980f1af017d6aac90a5ab1bef0861693
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:17:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:47:41 +0000

    deskutils/when: Fix fetch
    
    - Update MASTER_SITES
    - Update WWW
    
    It seems that the author moved from GitHub to BitBucket.
    https://github.com/bcrowell/when shows 404 now.
---
 deskutils/when/Makefile | 7 ++++---
 deskutils/when/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/deskutils/when/Makefile b/deskutils/when/Makefile
index f8589a2611f3..69bc3bfa8397 100644
--- a/deskutils/when/Makefile
+++ b/deskutils/when/Makefile
@@ -1,10 +1,12 @@
 PORTNAME=	when
 PORTVERSION=	1.1.45
 CATEGORIES=	deskutils
+MASTER_SITES=	https://bitbucket.org/ben-crowell/when/get/${PORTVERSION}.tgz?dummy=/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Simple personal calendar
-WWW=		https://www.lightandmatter.com/when/when.html
+WWW=		https://www.lightandmatter.com/when/when.html \
+		https://bitbucket.org/ben-crowell/when
 
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
@@ -16,8 +18,7 @@ MAKE_ARGS=	MANDIR=${PREFIX}/share/man/man1 prefix=${PREFIX}
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	bcrowell
+WRKSRC=		${WRKDIR}/ben-crowell-when-965b37762cc7/
 
 SHEBANG_FILES=	when
 
diff --git a/deskutils/when/distinfo b/deskutils/when/distinfo
index 9231a55d2da9..ebd048e8cd8d 100644
--- a/deskutils/when/distinfo
+++ b/deskutils/when/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674589482
-SHA256 (bcrowell-when-1.1.45_GH0.tar.gz) = 86c4f7dba0648173b08222439d60662715dd0b28fd2083098871eaff6537e5ca
-SIZE (bcrowell-when-1.1.45_GH0.tar.gz) = 46407
+TIMESTAMP = 1675190925
+SHA256 (when-1.1.45.tar.gz) = faa002260b0a289c5ad00e5f8e894c4cb12dbc68621676290676881c6034c4bf
+SIZE (when-1.1.45.tar.gz) = 46424