From 9b994116d01672238a9b615009414f41f94ebcdc Mon Sep 17 00:00:00 2001 From: Stephen Montgomery-Smith Date: Sun, 14 Jul 2024 19:50:57 -0500 Subject: [PATCH] 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. --- math/Makefile | 1 + math/octave-forge-hdf5oct/Makefile | 19 +++++++++++++++++++ math/octave-forge-hdf5oct/distinfo | 3 +++ .../octave-forge-hdf5oct/files/patch-Makefile | 9 +++++++++ math/octave-forge-hdf5oct/pkg-descr | 8 ++++++++ 5 files changed, 40 insertions(+) create mode 100644 math/octave-forge-hdf5oct/Makefile create mode 100644 math/octave-forge-hdf5oct/distinfo create mode 100644 math/octave-forge-hdf5oct/files/patch-Makefile create mode 100644 math/octave-forge-hdf5oct/pkg-descr 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 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.