git: ba6f56035e71 - main - math/zn_poly: Use USE_GITLAB

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 16 Oct 2022 15:01:46 UTC
The branch main has been updated by thierry:

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

commit ba6f56035e7196242bb4830d06c108063515a872
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-16 14:59:16 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-10-16 15:01:23 +0000

    math/zn_poly: Use USE_GITLAB
    
    Use USE_GITLAB to follow Porters Handbook more closely and be consistent
    with ports tree.
    
    PR:             267071
---
 math/zn_poly/Makefile | 18 ++++++++++--------
 math/zn_poly/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/math/zn_poly/Makefile b/math/zn_poly/Makefile
index 1c305f51f432..3199a7d79efe 100644
--- a/math/zn_poly/Makefile
+++ b/math/zn_poly/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	zn_poly
-PORTVERSION=	0.9.2
+DISTVERSION=	0.9.2
 CATEGORIES=	math
-MASTER_SITES=	https://gitlab.com/sagemath/${PORTNAME}/-/archive/${PORTVERSION}/
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	C library for polynomial arithmetic
@@ -15,6 +14,9 @@ LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libgmp.so:math/gmp
 
 USES=		gmake python:build tar:bz2
+USE_GITLAB=	yes
+GL_ACCOUNT=	sagemath
+GL_COMMIT=	f421e4788914e1625488d9b7d5aaab877eb1a940
 
 OPTIONS_DEFINE=	DOCS
 
@@ -39,11 +41,11 @@ pre-configure:
 		${WRKSRC}/${CONFIGURE_SCRIPT}
 
 post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/libzn_poly-${PORTVERSION}.so		\
-		${STAGEDIR}${PREFIX}/lib/libzn_poly-${PORTVERSION}.so.0.0.0
-	${RLN} ${STAGEDIR}${PREFIX}/lib/libzn_poly-${PORTVERSION}.so.0.0.0	\
-		${STAGEDIR}${PREFIX}/lib/libzn_poly-${PORTVERSION:R}.so.0
-	${RLN} ${STAGEDIR}${PREFIX}/lib/libzn_poly-${PORTVERSION}.so.0.0.0	\
-		${STAGEDIR}${PREFIX}/lib/libzn_poly-${PORTVERSION:R}.so
+	${INSTALL_PROGRAM} ${WRKSRC}/libzn_poly-${DISTVERSION}.so		\
+		${STAGEDIR}${PREFIX}/lib/libzn_poly-${DISTVERSION}.so.0.0.0
+	${RLN} ${STAGEDIR}${PREFIX}/lib/libzn_poly-${DISTVERSION}.so.0.0.0	\
+		${STAGEDIR}${PREFIX}/lib/libzn_poly-${DISTVERSION:R}.so.0
+	${RLN} ${STAGEDIR}${PREFIX}/lib/libzn_poly-${DISTVERSION}.so.0.0.0	\
+		${STAGEDIR}${PREFIX}/lib/libzn_poly-${DISTVERSION:R}.so
 
 .include <bsd.port.mk>
diff --git a/math/zn_poly/distinfo b/math/zn_poly/distinfo
index 4a3cc099591e..a155304b39a7 100644
--- a/math/zn_poly/distinfo
+++ b/math/zn_poly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588608790
-SHA256 (zn_poly-0.9.2.tar.bz2) = 29d88ce19939f53e920adf118d8cd6c8c9594bc8cb71a992a6137bd86f6fb7f5
-SIZE (zn_poly-0.9.2.tar.bz2) = 94785
+TIMESTAMP = 1665824987
+SHA256 (sagemath-zn_poly-f421e4788914e1625488d9b7d5aaab877eb1a940_GL0.tar.gz) = 53d358ea962e73d9825878c6ba9811cf62d490d239fd226891153a9391fab9c6
+SIZE (sagemath-zn_poly-f421e4788914e1625488d9b7d5aaab877eb1a940_GL0.tar.gz) = 116498