git: 8526d20aa517 - main - math/ntpoly: set USE_GITHUB and fix WWW link

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Tue, 18 Oct 2022 15:38:08 UTC
The branch main has been updated by thierry:

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

commit 8526d20aa5176d67530d5945946e8c4a429b2699
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-10-18 09:15:29 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-10-18 14:55:47 +0000

    math/ntpoly: set USE_GITHUB and fix WWW link
    
    Reported by:    diizzy
---
 math/ntpoly/Makefile | 12 +++++-------
 math/ntpoly/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/math/ntpoly/Makefile b/math/ntpoly/Makefile
index edc58425933c..93bdf9c5db33 100644
--- a/math/ntpoly/Makefile
+++ b/math/ntpoly/Makefile
@@ -1,13 +1,11 @@
 PORTNAME=	NTPoly
-PORTVERSION=	2.7.1
+DISTVERSION=	2.7.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	math
-MASTER_SITES=	https://github.com/william-dawson/${PORTNAME}/archive/refs/tags/
-DISTNAME=	${PORTNAME:tl}-${DISTVERSIONPREFIX}${DISTVERSION}
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Library for computing the functions of sparse matrices
-WWW=		https://github.com/kimwalisch/primecount
+WWW=		https://william-dawson.github.io/NTPoly
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -18,11 +16,11 @@ TEST_DEPENDS=	${PYNUMPY}	\
 		${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR}	\
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
 
-#USE_GITHUB=	yes
-#GH_ACCOUNT=	william-dawson
+USE_GITHUB=	yes
+GH_ACCOUNT=	william-dawson
+GH_TAGNAME=	${PORTNAME:tl}-${DISTVERSIONPREFIX}${DISTVERSION}
 
 USES=		blaslapack:openblas cmake fortran mpi python
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME:tl}-${DISTVERSIONPREFIX}${DISTVERSION}
 FFLAGS+=	-fopenmp -fallow-argument-mismatch
 CXXFLAGS+=	-fopenmp
 CMAKE_ARGS=	-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN}
diff --git a/math/ntpoly/distinfo b/math/ntpoly/distinfo
index ff65e443cf0b..20ccd0889940 100644
--- a/math/ntpoly/distinfo
+++ b/math/ntpoly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665940022
-SHA256 (ntpoly-v2.7.1.tar.gz) = c15d9f51ac054b4ef0565ce5c4c8589c10bdbab4dc3442ebd109691e2bbfc7e2
-SIZE (ntpoly-v2.7.1.tar.gz) = 281935
+TIMESTAMP = 1666081148
+SHA256 (william-dawson-NTPoly-v2.7.1-ntpoly-v2.7.1_GH0.tar.gz) = c15d9f51ac054b4ef0565ce5c4c8589c10bdbab4dc3442ebd109691e2bbfc7e2
+SIZE (william-dawson-NTPoly-v2.7.1-ntpoly-v2.7.1_GH0.tar.gz) = 281935