git: e170df5eb2f3 - main - math/octave-forge-automatic-differentiation: new port.

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

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

commit e170df5eb2f3eb823382dbbfb980d86489f82e13
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-26 00:36:37 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-26 00:36:37 +0000

    math/octave-forge-automatic-differentiation: new port.
    
    An automatic differentiation implimentation for Octave.
---
 math/Makefile                                      |  1 +
 .../Makefile                                       | 31 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  8 ++++++
 4 files changed, 43 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 2709dfda5176..d97d62e3e626 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -525,6 +525,7 @@
     SUBDIR += octave-forge
     SUBDIR += octave-forge-actuarial
     SUBDIR += octave-forge-audio
+    SUBDIR += octave-forge-automatic-differentiation
     SUBDIR += octave-forge-base
     SUBDIR += octave-forge-bim
     SUBDIR += octave-forge-bioinfo
diff --git a/math/octave-forge-automatic-differentiation/Makefile b/math/octave-forge-automatic-differentiation/Makefile
new file mode 100644
index 000000000000..9d56c5c4cac3
--- /dev/null
+++ b/math/octave-forge-automatic-differentiation/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	octave-forge-automatic-differentiation
+DISTVERSION=	1.0.0
+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=	StevenWaldrip
+GH_PROJECT=	Automatic-Differentiation
+
+# 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-automatic-differentiation/distinfo b/math/octave-forge-automatic-differentiation/distinfo
new file mode 100644
index 000000000000..a83213655a47
--- /dev/null
+++ b/math/octave-forge-automatic-differentiation/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666744398
+SHA256 (octave-forge/StevenWaldrip-Automatic-Differentiation-1.0.0_GH0.tar.gz) = 12e578cd4daedd31537ba5f541db20e85754ab356c3c28cb75da78442beb10e5
+SIZE (octave-forge/StevenWaldrip-Automatic-Differentiation-1.0.0_GH0.tar.gz) = 29014
diff --git a/math/octave-forge-automatic-differentiation/pkg-descr b/math/octave-forge-automatic-differentiation/pkg-descr
new file mode 100644
index 000000000000..9273f8f76345
--- /dev/null
+++ b/math/octave-forge-automatic-differentiation/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 automatic-differentiation.
+
+ An automatic differentiation implimentation for Octave.