git: bd3990624fc3 - main - cad/xyce: Use USE_GITHUB

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 30 Oct 2022 16:58:51 UTC
The branch main has been updated by yuri:

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

commit bd3990624fc391e902bd19252927cfbfabf8776f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-30 16:57:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-30 16:57:37 +0000

    cad/xyce: Use USE_GITHUB
    
    PR:             267286
---
 cad/xyce/Makefile | 8 ++++----
 cad/xyce/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cad/xyce/Makefile b/cad/xyce/Makefile
index de050e4677d0..9b61e953fa1a 100644
--- a/cad/xyce/Makefile
+++ b/cad/xyce/Makefile
@@ -2,9 +2,6 @@ PORTNAME=	xyce
 DISTVERSION=	7.5.0
 PORTREVISION=	1
 CATEGORIES=	cad
-MASTER_SITES=	https://github.com/Xyce/Xyce/archive/refs/tags/
-DISTNAME=	Release-${DISTVERSION}
-DIST_SUBDIR=	${PORTNAME}-${DISTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Xyce electronic simulator
@@ -32,7 +29,10 @@ USE_CXXSTD=	c++14 # otherwise configure fails because of c++14 features like std
 USE_LDCONFIG=	yes
 USE_PERL5=	test
 
-WRKSRC=		${WRKDIR}/Xyce-Release-${DISTVERSION}
+USE_GITHUB=	yes
+GH_ACCOUNT=	Xyce
+GH_PROJECT=	Xyce
+GH_TAGNAME=	Release-${DISTVERSION}
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	LEX=/usr/bin/flex \
diff --git a/cad/xyce/distinfo b/cad/xyce/distinfo
index b733d21cad6e..cbe21abfb780 100644
--- a/cad/xyce/distinfo
+++ b/cad/xyce/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657478670
-SHA256 (xyce-7.5.0/Release-7.5.0.tar.gz) = 854d7d5e19e0ee2138d1f20f10f8f27f2bebb94ec81c157040955cff7250dacd
-SIZE (xyce-7.5.0/Release-7.5.0.tar.gz) = 23184780
+TIMESTAMP = 1666506061
+SHA256 (Xyce-Xyce-7.5.0-Release-7.5.0_GH0.tar.gz) = 854d7d5e19e0ee2138d1f20f10f8f27f2bebb94ec81c157040955cff7250dacd
+SIZE (Xyce-Xyce-7.5.0-Release-7.5.0_GH0.tar.gz) = 23184780