math/zn_poly: Use USE_GITLAB

Use USE_GITLAB to follow Porters Handbook more closely and be consistent
with ports tree.

PR:		267071
This commit is contained in:
Daniel Engberg 2022-10-16 16:59:16 +02:00 committed by Thierry Thomas
parent fc6eb8efd1
commit ba6f56035e
2 changed files with 13 additions and 11 deletions

View File

@ -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>

View File

@ -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