summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2022-10-25 19:36:37 -0500
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2022-10-25 19:36:37 -0500
commite170df5eb2f3eb823382dbbfb980d86489f82e13 (patch)
tree9c3a53542ff082863459cb372f4a6b3d2525b1ea
parentsecurity/vuxml: add entry for CVE-2022-3437 (diff)
math/octave-forge-automatic-differentiation: new port.
An automatic differentiation implimentation for Octave.
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-automatic-differentiation/Makefile31
-rw-r--r--math/octave-forge-automatic-differentiation/distinfo3
-rw-r--r--math/octave-forge-automatic-differentiation/pkg-descr8
4 files changed, 43 insertions, 0 deletions
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.