git: 1c8540de08e2 - main - devel/git-lfs: Use upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 13 Feb 2022 19:44:03 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c8540de08e23eb25446a8ac22e45660632bbb71

commit 1c8540de08e23eb25446a8ac22e45660632bbb71
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-02-13 19:01:30 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-02-13 19:43:32 +0000

    devel/git-lfs: Use upstream release archive
    
    Use upstream release archive as recommended by Porters Handbook
    (USE_GITHUB section)
    
    PR:             261263
    Reviewed by:    egypcio (maintainer)
---
 devel/git-lfs/Makefile | 10 ++++++----
 devel/git-lfs/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/devel/git-lfs/Makefile b/devel/git-lfs/Makefile
index 41be3cba8491..04898b12eb2d 100644
--- a/devel/git-lfs/Makefile
+++ b/devel/git-lfs/Makefile
@@ -1,7 +1,8 @@
-PORTNAME=		git-lfs
+PORTNAME=	git-lfs
 DISTVERSIONPREFIX=	v
-DISTVERSION=		3.0.2
-CATEGORIES=		devel
+DISTVERSION=	3.0.2
+CATEGORIES=	devel
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	egypcio@FreeBSD.org
 COMMENT=	Git extension for versioning large files
@@ -12,7 +13,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 RUN_DEPENDS=	git:devel/git
 
 USES=		go:modules
-USE_GITHUB=	yes
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
 OPTIONS_DEFINE=		MANPAGES
 OPTIONS_DEFAULT=	MANPAGES
diff --git a/devel/git-lfs/distinfo b/devel/git-lfs/distinfo
index b072378a50d0..74918667ca03 100644
--- a/devel/git-lfs/distinfo
+++ b/devel/git-lfs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640864559
-SHA256 (git-lfs-git-lfs-v3.0.2_GH0.tar.gz) = 7179a357a0d0e7beaba217489f7f784ca8717035a5e3f1ee91ca7193ba3a35f3
-SIZE (git-lfs-git-lfs-v3.0.2_GH0.tar.gz) = 3126121
+TIMESTAMP = 1642406951
+SHA256 (git-lfs-v3.0.2.tar.gz) = 7179a357a0d0e7beaba217489f7f784ca8717035a5e3f1ee91ca7193ba3a35f3
+SIZE (git-lfs-v3.0.2.tar.gz) = 3126121