git: 3786df45d9ac - main - x11/waylock: back to GitHub except WWW

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 17:46:36 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3786df45d9ac9a071dba6d866fe7b9f99a3c4db9

commit 3786df45d9ac9a071dba6d866fe7b9f99a3c4db9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-04-16 17:32:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-04-16 17:44:52 +0000

    x11/waylock: back to GitHub except WWW
    
    As the mirror is no longer archived switch back to facilitate updating
    submodules until USE_GITEA or similar appears.
    
    This reverts commit 48c44950a2f5075f508025f50af88a6bbb88e55d.
---
 x11/waylock/Makefile | 14 ++++----------
 x11/waylock/distinfo | 12 ++++++------
 2 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/x11/waylock/Makefile b/x11/waylock/Makefile
index 7b70a6e778e5..4d2cfafa29ba 100644
--- a/x11/waylock/Makefile
+++ b/x11/waylock/Makefile
@@ -2,12 +2,6 @@ PORTNAME=	waylock
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.0
 CATEGORIES=	x11 wayland
-MASTER_SITES=	https://codeberg.org/ifreund/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ \
-		https://codeberg.org/ifreund/zig-wayland/archive/65475ba${EXTRACT_SUFX}?dummy=/:zig_wayland \
-		https://codeberg.org/ifreund/zig-xkbcommon/archive/7b188de${EXTRACT_SUFX}?dummy=/:zig_xkbcommon
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
-		zig-wayland-65475ba${EXTRACT_SUFX}:zig_wayland \
-		zig-xkbcommon-7b188de${EXTRACT_SUFX}:zig_xkbcommon
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Small screenlocker for Wayland compositors
@@ -23,7 +17,10 @@ LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
 RUN_DEPENDS=	unix-selfauth-helper>0:security/unix-selfauth-helper
 
 USES=		pkgconfig
-WRKSRC=		${WRKDIR}/${PORTNAME}
+USE_GITHUB=	yes
+GH_ACCOUNT=	ifreund
+GH_TUPLE=	ifreund:zig-wayland:65475ba:zig_wayland/deps/zig-wayland \
+		ifreund:zig-xkbcommon:7b188de:zig_xkbcommon/deps/zig-xkbcommon
 MAKE_ENV=	DESTDIR="${STAGEDIR}"
 CONFIGURE_ARGS=	--prefix "${PREFIX}" \
 		${WITH_DEBUG:D:U-Doptimize=ReleaseFast} \
@@ -43,9 +40,6 @@ MANPAGES_CONFIGURE_ON=	-Dman-pages=true
 MANPAGES_CONFIGURE_OFF=	-Dman-pages=false
 MANPAGES_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz
 
-post-extract:
-	@${MV} ${WRKDIR}/zig-* ${WRKSRC}/deps
-
 do-build:
 	@(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})
 
diff --git a/x11/waylock/distinfo b/x11/waylock/distinfo
index 4a803b83ce53..d27bce75f9c9 100644
--- a/x11/waylock/distinfo
+++ b/x11/waylock/distinfo
@@ -1,7 +1,7 @@
 TIMESTAMP = 1713267102
-SHA256 (waylock-v1.0.0.tar.gz) = e6d6dc92580b8ba23735f05241a9a166111641804c5d34bf402bffe21dda087f
-SIZE (waylock-v1.0.0.tar.gz) = 19869
-SHA256 (zig-wayland-65475ba.tar.gz) = b9f4d8b481bbcbee53b27333d4474b0cda1d5746036f23e9eca84f00e984d552
-SIZE (zig-wayland-65475ba.tar.gz) = 56234
-SHA256 (zig-xkbcommon-7b188de.tar.gz) = ff71b52b8f9c106981ec92db265ef155dd4543aee4c4a0c60f37eab72aa6a208
-SIZE (zig-xkbcommon-7b188de.tar.gz) = 21739
+SHA256 (ifreund-waylock-v1.0.0_GH0.tar.gz) = 243730ab9488aaff0969e8d4940218d201dae5f9463bcccfdf9f98260e602ec9
+SIZE (ifreund-waylock-v1.0.0_GH0.tar.gz) = 19777
+SHA256 (ifreund-zig-wayland-65475ba_GH0.tar.gz) = 51c3f10e44ddc829d259b96e01ce135ccb564f1851f1f8bb0552516aa3b3f9c2
+SIZE (ifreund-zig-wayland-65475ba_GH0.tar.gz) = 56249
+SHA256 (ifreund-zig-xkbcommon-7b188de_GH0.tar.gz) = 2c55d221c7a3483b38669cd19f7ccbc16a6429fc365e497aff4cd23b762317f5
+SIZE (ifreund-zig-xkbcommon-7b188de_GH0.tar.gz) = 21749