git: 65d0425a948d - main - math/octave-forge-pde1dm: new port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Tue, 25 Oct 2022 15:09:45 UTC
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65d0425a948daee4ffb5dafec8d80e5c45841555

commit 65d0425a948daee4ffb5dafec8d80e5c45841555
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-25 15:08:46 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-25 15:08:46 +0000

    math/octave-forge-pde1dm: new port.
    
    Solve systems of partial differential equations (PDE) in a single
    spatial variable and time. The input is mostly compatible with the
    MATLAB function pdepe. Many pdepe examples will work with pde1dm with
    only small changes.
---
 math/Makefile                      |  1 +
 math/octave-forge-pde1dm/Makefile  | 30 ++++++++++++++++++++++++++++++
 math/octave-forge-pde1dm/distinfo  |  3 +++
 math/octave-forge-pde1dm/pkg-descr | 10 ++++++++++
 4 files changed, 44 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 2c40d2122b78..7c3ff21fbd1e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -587,6 +587,7 @@
     SUBDIR += octave-forge-optiminterp
     SUBDIR += octave-forge-outliers
     SUBDIR += octave-forge-parallel
+    SUBDIR += octave-forge-pde1dm
     SUBDIR += octave-forge-plot
     SUBDIR += octave-forge-ponchon-savarit
     SUBDIR += octave-forge-quaternion
diff --git a/math/octave-forge-pde1dm/Makefile b/math/octave-forge-pde1dm/Makefile
new file mode 100644
index 000000000000..2287d0428dd4
--- /dev/null
+++ b/math/octave-forge-pde1dm/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	octave-forge-pde1dm
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3
+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=	wgreene310
+GH_PROJECT=	pde1dm
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${GH_PROJECT}-${DISTVERSION}
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+do-build:
+	@${DO_NADA}
+
+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-pde1dm/distinfo b/math/octave-forge-pde1dm/distinfo
new file mode 100644
index 000000000000..ca887ce5eabf
--- /dev/null
+++ b/math/octave-forge-pde1dm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666710302
+SHA256 (octave-forge/wgreene310-pde1dm-v1.3_GH0.tar.gz) = b9c93bf0aca8f25cbd3de76fe90e64cd5c68963ee3bbe12ff4d17baa3120d675
+SIZE (octave-forge/wgreene310-pde1dm-v1.3_GH0.tar.gz) = 383036
diff --git a/math/octave-forge-pde1dm/pkg-descr b/math/octave-forge-pde1dm/pkg-descr
new file mode 100644
index 000000000000..c530ec0e66d4
--- /dev/null
+++ b/math/octave-forge-pde1dm/pkg-descr
@@ -0,0 +1,10 @@
+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 pde1dm.
+
+ Solve systems of partial differential equations (PDE) in a single spatial
+variable and time. The input is mostly compatible with the MATLAB function
+pdepe. Many pdepe examples will work with pde1dm with only small changes.