git: 51191322543f - main - math/scilab: fix fetch

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Tue, 28 Dec 2021 13:57:31 UTC
The branch main has been updated by makc:

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

commit 51191322543f7891fa7cbd3252cfc9b52c494232
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2021-12-28 13:56:46 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2021-12-28 13:56:46 +0000

    math/scilab: fix fetch
    
    Switch to git repo.
    
    PR:             260672
    Reported by:    User tech-lists
---
 math/scilab/Makefile | 4 ++--
 math/scilab/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 9e2798cdbc3e..29f9a523c3de 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -3,8 +3,7 @@
 PORTNAME=	scilab
 PORTVERSION=	6.1.1
 CATEGORIES=	math cad java
-MASTER_SITES=	https://www.scilab.org/download/${PORTVERSION}/
-DISTFILES=	${DISTNAME}-src${EXTRACT_SUFX}
+MASTER_SITES=	https://cgit.scilab.org/scilab/snapshot/
 
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	Scientific software package for numerical computations
@@ -40,6 +39,7 @@ LDFLAGS+=	${ICONV_LIB}
 
 CONFIGURE_ENV=	BLAS_LIBS="${BLASLIB}" LAPACK_LIBS="${LAPACKLIB}"
 INSTALL_TARGET=	install-strip
+WRKSRC_SUBDIR=	scilab
 
 PLIST_SUB=	SHLIB_VER=${PORTVERSION}
 
diff --git a/math/scilab/distinfo b/math/scilab/distinfo
index b77d000818c3..2704a74158de 100644
--- a/math/scilab/distinfo
+++ b/math/scilab/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1626807367
-SHA256 (scilab-6.1.1-src.tar.gz) = e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207
-SIZE (scilab-6.1.1-src.tar.gz) = 82169007
+TIMESTAMP = 1640697673
+SHA256 (scilab-6.1.1.tar.gz) = 83555679b7d56df4aedad60678d97794cc5aefcda8b57206899016b5702607a4
+SIZE (scilab-6.1.1.tar.gz) = 83829041