aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2024-07-15 00:50:57 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2024-07-15 00:50:57 +0000
commit9b994116d01672238a9b615009414f41f94ebcdc (patch)
tree966b69f7c08ed1cf4ec333ce5f4174b15a5db315
parentda4e926f6a244f5f1139399fe3c1ad95dcd207d6 (diff)
math/octave-forge-hdf5oct: New port.
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 hdf5oct. MATLAB compatible high-level functions for HDF5 file I/O.
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-hdf5oct/Makefile19
-rw-r--r--math/octave-forge-hdf5oct/distinfo3
-rw-r--r--math/octave-forge-hdf5oct/files/patch-Makefile9
-rw-r--r--math/octave-forge-hdf5oct/pkg-descr8
5 files changed, 40 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index a909f527188d..64a0ebd226e3 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -585,6 +585,7 @@
SUBDIR += octave-forge-geometry
SUBDIR += octave-forge-gnuplot
SUBDIR += octave-forge-gsl
+ SUBDIR += octave-forge-hdf5oct
SUBDIR += octave-forge-ident
SUBDIR += octave-forge-image
SUBDIR += octave-forge-informationtheory
diff --git a/math/octave-forge-hdf5oct/Makefile b/math/octave-forge-hdf5oct/Makefile
new file mode 100644
index 000000000000..d0611a530cd3
--- /dev/null
+++ b/math/octave-forge-hdf5oct/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= octave-forge-hdf5oct
+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= ${WRKSRC}/../COPYING
+
+USES= octave
+USE_GITHUB= yes
+GH_ACCOUNT= gapost
+GH_PROJECT= hdf5oct
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-hdf5oct/distinfo b/math/octave-forge-hdf5oct/distinfo
new file mode 100644
index 000000000000..d827fc5ef2ee
--- /dev/null
+++ b/math/octave-forge-hdf5oct/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1720924668
+SHA256 (octave-forge/gapost-hdf5oct-1.0.0_GH0.tar.gz) = dec661f16b0743d03e5edbe59f2be49df3d10bbd73c0edcbea26e52ad682c4c8
+SIZE (octave-forge/gapost-hdf5oct-1.0.0_GH0.tar.gz) = 121874
diff --git a/math/octave-forge-hdf5oct/files/patch-Makefile b/math/octave-forge-hdf5oct/files/patch-Makefile
new file mode 100644
index 000000000000..2e2076a738e7
--- /dev/null
+++ b/math/octave-forge-hdf5oct/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- Makefile.orig 2024-07-14 02:44:32 UTC
++++ Makefile
+@@ -1,5 +1,5 @@
+
+-OCTAVE ?= octave
++OCTAVE ?= octave-cli -H
+ MKOCTFILE ?= mkoctfile
+
+ H5FLAGS=$(shell ${OCTAVE} --eval 's="";if __octave_config_info__().build_features.HDF5==1,s="-DHAVE_HDF5";end;printf(s)') \
diff --git a/math/octave-forge-hdf5oct/pkg-descr b/math/octave-forge-hdf5oct/pkg-descr
new file mode 100644
index 000000000000..628b847bd704
--- /dev/null
+++ b/math/octave-forge-hdf5oct/pkg-descr
@@ -0,0 +1,8 @@
+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 hdf5oct.
+
+ MATLAB compatible high-level functions for HDF5 file I/O.