summaryrefslogtreecommitdiff
path: root/math/octave-forge-octave_php_wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-octave_php_wrapper')
-rw-r--r--math/octave-forge-octave_php_wrapper/Makefile25
-rw-r--r--math/octave-forge-octave_php_wrapper/distinfo3
-rw-r--r--math/octave-forge-octave_php_wrapper/files/patch-DESCRIPTION9
-rw-r--r--math/octave-forge-octave_php_wrapper/pkg-descr9
4 files changed, 46 insertions, 0 deletions
diff --git a/math/octave-forge-octave_php_wrapper/Makefile b/math/octave-forge-octave_php_wrapper/Makefile
new file mode 100644
index 000000000000..ab0a039e462c
--- /dev/null
+++ b/math/octave-forge-octave_php_wrapper/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= octave-forge-octave_php_wrapper
+#DISTVERSIONPREFIX=
+DISTVERSION= 1.0.0
+PORTREVISION= 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
+
+USES= octave
+USE_GITHUB= yes
+GH_ACCOUNT= CNOCTAVE
+GH_PROJECT= ${OCTAVE_PKGNAME}
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+WRKSRC= ${WRKDIR}/${OCTAVE_SRC}
+
+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/files/patch-DESCRIPTION b/math/octave-forge-octave_php_wrapper/files/patch-DESCRIPTION
new file mode 100644
index 000000000000..cc360bf1ef13
--- /dev/null
+++ b/math/octave-forge-octave_php_wrapper/files/patch-DESCRIPTION
@@ -0,0 +1,9 @@
+--- DESCRIPTION.orig 2025-07-11 04:12:11 UTC
++++ DESCRIPTION
+@@ -1,5 +1,5 @@ Name: octave_php_wrapper
+ Name: octave_php_wrapper
+-Version: 0.1.0
++Version: 1.0.0
+ Date: 2025-5-16
+ Author: various authors
+ Maintainer: Yu Hongbo <yuhongbo@member.fsf.org>, CNOCTAVE <cnoctave@qq.com>
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.