git: 04f48c9bf34b - main - math/octave-forge-timer: New port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Fri, 03 May 2024 16:28:28 UTC
The branch main has been updated by stephen:

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

commit 04f48c9bf34bad0cf07a24d2ea20676822a0a35f
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-05-03 16:26:47 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-05-03 16:26:47 +0000

    math/octave-forge-timer: New port.
    
     A Matlab-compatible timer class to execute periodic actions.
---
 math/Makefile                     |  1 +
 math/octave-forge-timer/Makefile  | 22 ++++++++++++++++++++++
 math/octave-forge-timer/distinfo  |  3 +++
 math/octave-forge-timer/pkg-descr |  8 ++++++++
 4 files changed, 34 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 347e9eadf979..370f622f3f81 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -653,6 +653,7 @@
     SUBDIR += octave-forge-symbolic
     SUBDIR += octave-forge-tablicious
     SUBDIR += octave-forge-tcl-octave
+    SUBDIR += octave-forge-timer
     SUBDIR += octave-forge-tsa
     SUBDIR += octave-forge-velas
     SUBDIR += octave-forge-video
diff --git a/math/octave-forge-timer/Makefile b/math/octave-forge-timer/Makefile
new file mode 100644
index 000000000000..afe8c2068456
--- /dev/null
+++ b/math/octave-forge-timer/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	octave-forge-timer
+DISTVERSION=	0.1.2
+CATEGORIES=	math
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		https://packages.octave.org/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTAVE_SRC}/COPYING
+
+USES=		octave
+USE_GITLAB=	yes
+GL_ACCOUNT=	farhi
+GL_PROJECT=	octave-timer
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+OCTAVE_SRC=		${GL_PROJECT}-${GL_TAGNAME}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-timer/distinfo b/math/octave-forge-timer/distinfo
new file mode 100644
index 000000000000..1656204dffb7
--- /dev/null
+++ b/math/octave-forge-timer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714406171
+SHA256 (octave-forge/octave-timer-0.1.2.tar.bz2) = 2763eb3381243be0b3656515ebd0c9a7288e2efedd7e0c4e89a827089638c7b6
+SIZE (octave-forge/octave-timer-0.1.2.tar.bz2) = 14584
diff --git a/math/octave-forge-timer/pkg-descr b/math/octave-forge-timer/pkg-descr
new file mode 100644
index 000000000000..4f97d33e21b3
--- /dev/null
+++ b/math/octave-forge-timer/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 timer.
+
+ A Matlab-compatible timer class to execute periodic actions.