git: 7d49520738d2 - main - dns/blocky: Use new feature from go.mk to download go.mod from github

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 12 Jul 2024 08:19:30 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d49520738d286ea272a9772d942390269ace1b9

commit 7d49520738d286ea272a9772d942390269ace1b9
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-07-12 08:17:34 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-07-12 08:19:18 +0000

    dns/blocky: Use new feature from go.mk to download go.mod from github
---
 dns/blocky/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile
index e8aa0faf08ab..190264277616 100644
--- a/dns/blocky/Makefile
+++ b/dns/blocky/Makefile
@@ -3,8 +3,6 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	0.24
 PORTREVISION=	2
 CATEGORIES=	dns
-MASTER_SITES=	https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
-DISTFILES=	go.mod:gomod
 
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Fast and lightweight DNS proxy as ad-blocker
@@ -18,6 +16,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	0xERR0R
 USE_RC_SUBR=	blocky
 
+GO_MOD_DIST=	github
 GO_MODULE=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
 GO_TARGET=	main.go:${PREFIX}/sbin/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags "-w -s \