summaryrefslogtreecommitdiff
path: root/math/octave-forge-mboct-numerical-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-mboct-numerical-pkg')
-rw-r--r--math/octave-forge-mboct-numerical-pkg/Makefile28
-rw-r--r--math/octave-forge-mboct-numerical-pkg/distinfo3
-rw-r--r--math/octave-forge-mboct-numerical-pkg/files/patch-sp__sym__mtimes.cc10
-rw-r--r--math/octave-forge-mboct-numerical-pkg/pkg-descr10
4 files changed, 51 insertions, 0 deletions
diff --git a/math/octave-forge-mboct-numerical-pkg/Makefile b/math/octave-forge-mboct-numerical-pkg/Makefile
new file mode 100644
index 000000000000..c3629336e5df
--- /dev/null
+++ b/math/octave-forge-mboct-numerical-pkg/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= octave-forge-mboct-numerical-pkg
+DISTVERSION= 0.1.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 autoreconf
+
+LIB_DEPENDS+= libgtest.so:devel/googletest \
+ libmetis.so:math/metis \
+ libmumps_common_seq.so:math/mumps
+
+RUN_DEPENDS+= ${OCTAVE_TARBALLS_DIR}/mboct-octave-pkg.tar.gz:math/octave-forge-mboct-octave-pkg
+
+USE_GITHUB= yes
+GH_ACCOUNT= octave-user
+GH_PROJECT= mboct-numerical-pkg
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-mboct-numerical-pkg/distinfo b/math/octave-forge-mboct-numerical-pkg/distinfo
new file mode 100644
index 000000000000..85c897ff651c
--- /dev/null
+++ b/math/octave-forge-mboct-numerical-pkg/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756177582
+SHA256 (octave-forge/octave-user-mboct-numerical-pkg-0.1.0_GH0.tar.gz) = e98dde5e84ef65f2e200cd33a4bec04242080111969da0d1736ae2a057a75e61
+SIZE (octave-forge/octave-user-mboct-numerical-pkg-0.1.0_GH0.tar.gz) = 59222
diff --git a/math/octave-forge-mboct-numerical-pkg/files/patch-sp__sym__mtimes.cc b/math/octave-forge-mboct-numerical-pkg/files/patch-sp__sym__mtimes.cc
new file mode 100644
index 000000000000..ace9d9ccb0ca
--- /dev/null
+++ b/math/octave-forge-mboct-numerical-pkg/files/patch-sp__sym__mtimes.cc
@@ -0,0 +1,10 @@
+--- sp_sym_mtimes.cc.orig 2025-08-26 03:13:45 UTC
++++ sp_sym_mtimes.cc
+@@ -15,6 +15,7 @@
+
+ #include "config.h"
+
++#include <assert.h>
+ #include <octave/oct.h>
+
+ // PKG_ADD: autoload ("sp_sym_mtimes", "__mboct_numerical__.oct");
diff --git a/math/octave-forge-mboct-numerical-pkg/pkg-descr b/math/octave-forge-mboct-numerical-pkg/pkg-descr
new file mode 100644
index 000000000000..b88e3cdbf578
--- /dev/null
+++ b/math/octave-forge-mboct-numerical-pkg/pkg-descr
@@ -0,0 +1,10 @@
+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 mboct-numerical-pkg.
+
+ This package belongs to a suite of packages which can be used for pre- and
+ postprocessing of flexible bodies in MBDyn (www.mbdyn.org) with GNU-Octave.
+ It contains interfaces to several well known numerical solvers.