git: 840966b5881f - main - math/octave-forge-femoctave: new port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Wed, 26 Oct 2022 17:32:40 UTC
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=840966b5881f2e587e8441c84e14d8eaeed75bad

commit 840966b5881f2e587e8441c84e14d8eaeed75bad
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-26 17:32:01 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-26 17:32:01 +0000

    math/octave-forge-femoctave: new port.
    
    Use FEM for solving boundary value problems in two space dimensions.
---
 math/Makefile                         |  1 +
 math/octave-forge-femoctave/Makefile  | 29 +++++++++++++++++++++++++++++
 math/octave-forge-femoctave/distinfo  |  3 +++
 math/octave-forge-femoctave/pkg-descr |  8 ++++++++
 4 files changed, 41 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 386408b15282..33b584be90fb 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -542,6 +542,7 @@
     SUBDIR += octave-forge-doctest
     SUBDIR += octave-forge-econometrics
     SUBDIR += octave-forge-fda
+    SUBDIR += octave-forge-femoctave
     SUBDIR += octave-forge-fenv
     SUBDIR += octave-forge-financial
     SUBDIR += octave-forge-fits
diff --git a/math/octave-forge-femoctave/Makefile b/math/octave-forge-femoctave/Makefile
new file mode 100644
index 000000000000..85e33dcafde1
--- /dev/null
+++ b/math/octave-forge-femoctave/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	octave-forge-femoctave
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.0.8
+CATEGORIES=	math
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		http://octave.sourceforge.net/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	AndreasStahel
+GH_PROJECT=	FEMoctave
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${GH_PROJECT}-${DISTVERSION}
+
+WRKSRC=		${WRKDIR}/${OCTSRC}/src
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+	${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
+	cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-femoctave/distinfo b/math/octave-forge-femoctave/distinfo
new file mode 100644
index 000000000000..ed99ad85efff
--- /dev/null
+++ b/math/octave-forge-femoctave/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666805370
+SHA256 (octave-forge/AndreasStahel-FEMoctave-v2.0.8_GH0.tar.gz) = 629c5cfe6a12301c2a06684a3c8c145c3725e5f4e725c8390f4c6b661e75b7a6
+SIZE (octave-forge/AndreasStahel-FEMoctave-v2.0.8_GH0.tar.gz) = 22799116
diff --git a/math/octave-forge-femoctave/pkg-descr b/math/octave-forge-femoctave/pkg-descr
new file mode 100644
index 000000000000..b041c7804c6f
--- /dev/null
+++ b/math/octave-forge-femoctave/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 femoctave.
+
+ Use FEM for solving boundary value problems in two space dimensions.