git: fa4438b9f890 - main - math/octave-forge: Add optional dependency.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Sun, 17 Nov 2024 04:16:02 UTC
The branch main has been updated by stephen:

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

commit fa4438b9f890d9e969a47484cf702a09dc70be4f
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-11-17 04:15:07 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-11-17 04:15:07 +0000

    math/octave-forge: Add optional dependency.
    
    - Add optional dependency math/octave-forge-octave_zsdt.
    - Update to 20241116.
---
 math/octave-forge/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/math/octave-forge/Makefile b/math/octave-forge/Makefile
index d44877e97a13..64f3c2e51e37 100644
--- a/math/octave-forge/Makefile
+++ b/math/octave-forge/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	octave-forge
-PORTVERSION=	20241108
+PORTVERSION=	20241116
 CATEGORIES=	math
 
 MAINTAINER=	stephen@FreeBSD.org
@@ -23,7 +23,7 @@ OPTIONS_DEFINE=	AUDIO ACTUARIAL AUTOMATIC_DIFFERENTIATION \
 		MAPPING MATGEOM MCCABE_THIELE \
 		MECHANICS MISCELLANEOUS MISSING_FUNCTIONS MPI MQTT MSH \
 		MULTICORE MVN NAN NCARRAY NETCDF NLWING2 NNET NURBS \
-		OCT2MAT OCTAVE_POOL OCTAVE_TAR \
+		OCT2MAT OCTAVE_POOL OCTAVE_TAR OCTAVE_ZSTD \
 		OCTCLIP OCTPROJ ODBC ODEBVP ONSAS OPTICS \
 		OPTIM OPTIMINTERP OUTLIERS PARALLEL PKG_OCTAVE_DOC PDE1DM PLOT \
 		PONCHON_SAVARIT PROMPT PSYCHROMETRICS PYTHONIC QUATERNION \
@@ -40,7 +40,9 @@ OPTIONS_DEFAULT=	${OPTIONS_DEFINE:NBIOINFO:NDATABASE:NFINANCIAL:NFITS:NGNUPLOT:N
 OCTAVE_TARBALLS_DIR=		${LOCALBASE}/share/octave/tarballs
 
 .for OPT in ${OPTIONS_DEFINE}
-. if ${OPTIONS_DEFINE:MGENERATE_HTML} == ${OPT} || ${OPTIONS_DEFINE:MOCTAVE_TAR} == ${OPT}
+. if ${OPTIONS_DEFINE:MGENERATE_HTML} == ${OPT} \
+	|| ${OPTIONS_DEFINE:MOCTAVE_TAR} == ${OPT} \
+	|| ${OPTIONS_DEFINE:MOCTAVE_ZSTD} == ${OPT}
 ${OPT}_DESC=		Install package: ${OPT:tl}
 ${OPT}_RUN_DEPENDS=	${OCTAVE_TARBALLS_DIR}/${OPT:tl}.tar.gz:math/octave-forge-${OPT:tl}
 . else