git: d3fdebef2e9f - main - math/octave-forge-mccabe-thiele: new port.

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

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

commit d3fdebef2e9fdf7b8b5a92a5467fde10a1ecf781
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-26 17:07:18 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-26 17:08:01 +0000

    math/octave-forge-mccabe-thiele: new port.
    
    A toolbox for the McCabe-Thiele method for GNU Octave.
---
 math/Makefile                             |  1 +
 math/octave-forge-mccabe-thiele/Makefile  | 32 +++++++++++++++++++++++++++++++
 math/octave-forge-mccabe-thiele/distinfo  |  3 +++
 math/octave-forge-mccabe-thiele/pkg-descr |  8 ++++++++
 4 files changed, 44 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index d97d62e3e626..63c7ceff091d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -568,6 +568,7 @@
     SUBDIR += octave-forge-ltfat
     SUBDIR += octave-forge-mapping
     SUBDIR += octave-forge-matgeom
+    SUBDIR += octave-forge-mccabe-thiele
     SUBDIR += octave-forge-mechanics
     SUBDIR += octave-forge-miscellaneous
     SUBDIR += octave-forge-missing-functions
diff --git a/math/octave-forge-mccabe-thiele/Makefile b/math/octave-forge-mccabe-thiele/Makefile
new file mode 100644
index 000000000000..5270b41ef069
--- /dev/null
+++ b/math/octave-forge-mccabe-thiele/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	octave-forge-mccabe-thiele
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.4
+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=	aumpierre-unb
+GH_PROJECT=	McCabe-Thiele-for-GNU-Octave
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${GH_PROJECT}-${DISTVERSION}
+
+RUN_DEPENDS+=	${TARBALLS_DIR}/sockets.tar.gz:math/octave-forge-sockets
+
+.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-mccabe-thiele/distinfo b/math/octave-forge-mccabe-thiele/distinfo
new file mode 100644
index 000000000000..84f7833cc3c5
--- /dev/null
+++ b/math/octave-forge-mccabe-thiele/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666803870
+SHA256 (octave-forge/aumpierre-unb-McCabe-Thiele-for-GNU-Octave-v0.1.4_GH0.tar.gz) = 8f3266cc279e30cbbb7e1095b1906933453a81d32de14edb401cf4a7f935bd22
+SIZE (octave-forge/aumpierre-unb-McCabe-Thiele-for-GNU-Octave-v0.1.4_GH0.tar.gz) = 96199
diff --git a/math/octave-forge-mccabe-thiele/pkg-descr b/math/octave-forge-mccabe-thiele/pkg-descr
new file mode 100644
index 000000000000..7ff4e11b5d3d
--- /dev/null
+++ b/math/octave-forge-mccabe-thiele/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 mccabe-thiele.
+
+ A toolbox for the McCabe-Thiele method for GNU Octave.