git: 5b98d5c9d3e3 - main - math/octave-forge-octave_php_wrapper: New port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Thu, 29 May 2025 17:25:57 UTC
The branch main has been updated by stephen:

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

commit 5b98d5c9d3e30ae264da6cec1375b7289e20f435
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2025-05-29 17:24:41 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2025-05-29 17:24:41 +0000

    math/octave-forge-octave_php_wrapper: New port.
    
    The octave_php_wrapper package creates a PHP wrapper for Octave script, so
    that you can run the Octave script by PHP, like modern Internet service.
---
 math/Makefile                                  |  1 +
 math/octave-forge-octave_php_wrapper/Makefile  | 23 +++++++++++++++++++++++
 math/octave-forge-octave_php_wrapper/distinfo  |  3 +++
 math/octave-forge-octave_php_wrapper/pkg-descr |  9 +++++++++
 4 files changed, 36 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 1fe75be0d6f4..20ed392e8548 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -627,6 +627,7 @@
     SUBDIR += octave-forge-nurbs
     SUBDIR += octave-forge-oct2mat
     SUBDIR += octave-forge-octave-pool
+    SUBDIR += octave-forge-octave_php_wrapper
     SUBDIR += octave-forge-octave_tar
     SUBDIR += octave-forge-octave_zstd
     SUBDIR += octave-forge-octclip
diff --git a/math/octave-forge-octave_php_wrapper/Makefile b/math/octave-forge-octave_php_wrapper/Makefile
new file mode 100644
index 000000000000..3b869d2a6454
--- /dev/null
+++ b/math/octave-forge-octave_php_wrapper/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	octave-forge-octave_php_wrapper
+#DISTVERSIONPREFIX=
+DISTVERSION=	1.0.0
+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
+
+USES=		octave
+USE_GITHUB=	yes
+GH_ACCOUNT=	CNOCTAVE
+GH_PROJECT=	${OCTAVE_PKGNAME}
+
+OCTAVE_SRC=		${GH_PROJECT}-${DISTVERSION}
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-octave_php_wrapper/distinfo b/math/octave-forge-octave_php_wrapper/distinfo
new file mode 100644
index 000000000000..7568a509a9ac
--- /dev/null
+++ b/math/octave-forge-octave_php_wrapper/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748221790
+SHA256 (octave-forge/CNOCTAVE-octave_php_wrapper-1.0.0_GH0.tar.gz) = 1c4ea46304e6d1a033b18abb9f5426aabbf0fe1a49edfd6a0eb76c4881834bab
+SIZE (octave-forge/CNOCTAVE-octave_php_wrapper-1.0.0_GH0.tar.gz) = 661019
diff --git a/math/octave-forge-octave_php_wrapper/pkg-descr b/math/octave-forge-octave_php_wrapper/pkg-descr
new file mode 100644
index 000000000000..81d820dc23ec
--- /dev/null
+++ b/math/octave-forge-octave_php_wrapper/pkg-descr
@@ -0,0 +1,9 @@
+The octave-forge package is the result of The GNU Octave Repository 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_php_wrapper.
+
+ The octave_php_wrapper package creates a PHP wrapper for Octave script, so
+that you can run the Octave script by PHP, like modern Internet service.