git: f6a70039bf20 - main - math/octave-forge-octave_zstd: New port.

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

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

commit f6a70039bf20e3b988b6a285548c287d7dce3a21
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-11-17 04:13:49 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-11-17 04:13:49 +0000

    math/octave-forge-octave_zstd: New port.
    
    -  The octave_zstd package provides functions for compress and
       decompress about ZSTD format.
---
 math/Makefile                           |  1 +
 math/octave-forge-octave_zstd/Makefile  | 26 ++++++++++++++++++++++++++
 math/octave-forge-octave_zstd/distinfo  |  3 +++
 math/octave-forge-octave_zstd/pkg-descr |  9 +++++++++
 4 files changed, 39 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index c890d43e5d44..f19f19df3499 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -624,6 +624,7 @@
     SUBDIR += octave-forge-oct2mat
     SUBDIR += octave-forge-octave-pool
     SUBDIR += octave-forge-octave_tar
+    SUBDIR += octave-forge-octave_zstd
     SUBDIR += octave-forge-octclip
     SUBDIR += octave-forge-octproj
     SUBDIR += octave-forge-odbc
diff --git a/math/octave-forge-octave_zstd/Makefile b/math/octave-forge-octave_zstd/Makefile
new file mode 100644
index 000000000000..a2f54626862e
--- /dev/null
+++ b/math/octave-forge-octave_zstd/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	octave-forge-octave_zstd
+DISTVERSION=	1.0.1
+CATEGORIES=	math
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		https://packages.octave.org/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTAVE_SRC}/COPYING
+
+RUN_DEPENDS+=	${OCTAVE_TARBALLS_DIR}/octave_tar.tar.gz:math/octave-forge-octave_tar
+
+USES=		octave
+USE_GITHUB=	yes
+GH_ACCOUNT=	CNOCTAVE
+GH_PROJECT=	octave_zstd
+
+OCTAVE_SRC=	${GH_PROJECT}-${DISTVERSION}
+
+GNU_CONFIGURE=	yes
+
+post-extract:
+	${CHMOD} +x ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-octave_zstd/distinfo b/math/octave-forge-octave_zstd/distinfo
new file mode 100644
index 000000000000..69b1e18acc27
--- /dev/null
+++ b/math/octave-forge-octave_zstd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731568274
+SHA256 (octave-forge/CNOCTAVE-octave_zstd-1.0.1_GH0.tar.gz) = 29a138cdfd544fa031455ab2ce358b6221fd6151709c94091161fc137c2a8b2c
+SIZE (octave-forge/CNOCTAVE-octave_zstd-1.0.1_GH0.tar.gz) = 702266
diff --git a/math/octave-forge-octave_zstd/pkg-descr b/math/octave-forge-octave_zstd/pkg-descr
new file mode 100644
index 000000000000..6a1f4a05cd9e
--- /dev/null
+++ b/math/octave-forge-octave_zstd/pkg-descr
@@ -0,0 +1,9 @@
+The octave-forge package is the result of The GNU Octave Repositry project,
+which is intended to be a central location for custom scripts, functions and
+extensions for GNU Octave. contains the source for all the functions plus
+build and install scripts.
+
+This is octave_zstd.
+
+ The octave_zstd package provides functions for compress and decompress about
+ZSTD format.