git: 6cb40746b443 - main - math/scilab-toolbox-swt: 0.3.3

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 01 Sep 2026 09:59:58 UTC
The branch main has been updated by ronald:

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

commit 6cb40746b443b1a25735e1a21f63f87f57f2cb3f
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-08-26 06:39:53 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-09-01 09:59:26 +0000

    math/scilab-toolbox-swt: 0.3.3
    
    Update to release of January 9, 2025.
    https://atoms.scilab.org/toolboxes/swt/0.3.3
    
    Postponed expiration as upstream seems active and math/scilab was undeprecated.
    But as nobody noticed when the port was broken I doubt we have any users of this.
    If you use this, please speak up and mail the maintainer.
    
    Depend on fortran to fix: (fortran was indirectly pulled in by the dependency on math/scilab)
    ====> Running Q/A tests (stage-qa)
    Error: /usr/local/share/scilab/contrib/swt/sci_gateway/c/libswt_c.so is linked to /usr/local/lib/gcc14/libgfortran.so.5 from lang/gcc14 but it is not declared as a dependency
    Error: /usr/local/share/scilab/contrib/swt/sci_gateway/c/libswt_c.so is linked to /usr/local/lib/gcc14/libquadmath.so.0 from lang/gcc14 but it is not declared as a dependency
    
    Remove REINPLACE_CMD for:
    ====> Running Q/A tests (stage-qa)
    Warning: Possible REINPLACE_CMD issues:
    - - REINPLACE_CMD ran, but did not modify file contents: sci_gateway/c/swt_common.h
    
    Approved by:    no maintainer
---
 math/scilab-toolbox-swt/Makefile  | 15 +++++----------
 math/scilab-toolbox-swt/distinfo  |  6 +++---
 math/scilab-toolbox-swt/pkg-plist |  1 -
 3 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/math/scilab-toolbox-swt/Makefile b/math/scilab-toolbox-swt/Makefile
index eba3ae0384f8..4210838a3b8a 100644
--- a/math/scilab-toolbox-swt/Makefile
+++ b/math/scilab-toolbox-swt/Makefile
@@ -1,22 +1,21 @@
 PORTNAME=	swt
-PORTVERSION=	0.3.1
-PORTREVISION=	3
+PORTVERSION=	0.3.3
 CATEGORIES=	math
 MASTER_SITES=	http://atoms.scilab.org/toolboxes/swt/${PORTVERSION}/files/
 PKGNAMEPREFIX=	scilab-toolbox-
-DISTNAME=	${PORTNAME}-${PORTVERSION}-3-src
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Scilab 1-D and 2-D Wavelet Toolbox
 WWW=		https://atoms.scilab.org/toolboxes/swt
 
-DEPRECATED=	Not actively maintained, version from 2016, did not keep up with upstream. Mail the maintainer if you use this.
-EXPIRATION_DATE=	2026-11-09
+DEPRECATED=	Not actively maintained, no users complained when the port was broken. Mail the maintainer if you use this.
+EXPIRATION_DATE=	2027-01-09
 
 BUILD_DEPENDS=	${SCILAB_CMD}:math/scilab
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		dos2unix zip
+USES=		dos2unix fortran zip
 
 SCILAB_CMD=	${LOCALBASE}/bin/scilab-adv-cli
 SCILAB_ARGS=	-noatomsautoload -nb -nouserstartup
@@ -35,8 +34,6 @@ OPTIONS_SUB=	yes
 
 HELP_DESC=	Build help files (requires scilab with gui support)
 
-WRKSRC=		${WRKDIR}/swt
-
 .include <bsd.port.options.mk>
 
 .if !${PORT_OPTIONS:MHELP}
@@ -50,8 +47,6 @@ post-patch:
 .if !${PORT_OPTIONS:MHELP}
 	${REINPLACE_CMD} -e '/tbx_builder_help/d' ${WRKSRC}/builder.sce
 .endif
-	${REINPLACE_CMD} '/#include "MALLOC.h"/d' \
-		${WRKSRC}/sci_gateway/c/swt_common.h
 	${ECHO_CMD} quit >> ${WRKSRC}/builder.sce
 
 pre-build:
diff --git a/math/scilab-toolbox-swt/distinfo b/math/scilab-toolbox-swt/distinfo
index 2f10a77fb993..280ba04692fa 100644
--- a/math/scilab-toolbox-swt/distinfo
+++ b/math/scilab-toolbox-swt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1590664412
-SHA256 (swt-0.3.1-3-src.zip) = da2fb4a6c0a74a7bbae3f3aaa5134584d39ab293dfd23787a707318c8cc21eed
-SIZE (swt-0.3.1-3-src.zip) = 1177314
+TIMESTAMP = 1787726337
+SHA256 (swt-0.3.3.zip) = 86dcfae360d5b652923d8ba87e4f91437549bb844edc8d6dbc7ebf4db35a1695
+SIZE (swt-0.3.3.zip) = 1176512
diff --git a/math/scilab-toolbox-swt/pkg-plist b/math/scilab-toolbox-swt/pkg-plist
index aef31701d437..6ec7d33083a5 100644
--- a/math/scilab-toolbox-swt/pkg-plist
+++ b/math/scilab-toolbox-swt/pkg-plist
@@ -70,7 +70,6 @@
 %%TOOLBOXDIR%%/macros/help_from_sci/idwt.sci
 %%TOOLBOXDIR%%/macros/help_from_sci/idwt2.sci
 %%TOOLBOXDIR%%/macros/help_from_sci/idwt3.sci
-%%TOOLBOXDIR%%/macros/help_from_sci/ind2rgb.sci
 %%TOOLBOXDIR%%/macros/help_from_sci/iswt.sci
 %%TOOLBOXDIR%%/macros/help_from_sci/iswt2.sci
 %%TOOLBOXDIR%%/macros/help_from_sci/legdwavf.sci