git: 802f01a2fb45 - main - math/octave-forge-biosig: new port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Thu, 27 Oct 2022 01:48:09 UTC
The branch main has been updated by stephen:

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

commit 802f01a2fb45ff030bdf3fb77ac13e14305faca0
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-27 01:47:12 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-27 01:47:12 +0000

    math/octave-forge-biosig: new port.
    
    Biomedical signal processing tools for octave.
---
 math/Makefile                      |  1 +
 math/octave-forge-biosig/Makefile  | 31 +++++++++++++++++++++++++++++++
 math/octave-forge-biosig/distinfo  |  3 +++
 math/octave-forge-biosig/pkg-descr |  8 ++++++++
 4 files changed, 43 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 33b584be90fb..3845593a0c53 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -529,6 +529,7 @@
     SUBDIR += octave-forge-base
     SUBDIR += octave-forge-bim
     SUBDIR += octave-forge-bioinfo
+    SUBDIR += octave-forge-biosig
     SUBDIR += octave-forge-bsltl
     SUBDIR += octave-forge-cgi
     SUBDIR += octave-forge-civil-engineering
diff --git a/math/octave-forge-biosig/Makefile b/math/octave-forge-biosig/Makefile
new file mode 100644
index 000000000000..cbf43cab3791
--- /dev/null
+++ b/math/octave-forge-biosig/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	octave-forge-biosig
+DISTVERSION=	2.4.3
+CATEGORIES=	math
+MASTER_SITES=	https://pub.ist.ac.at/~schloegl/biosig/prereleases/
+DISTNAME=	biosig4octave-${DISTVERSION}.src
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		http://octave.sourceforge.net/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
+
+LIB_DEPENDS+=	libbiosig.so:biology/biosig
+
+ALL_TARGET=	# nada
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+
+OCTSRC=		${DISTNAME:R}
+
+WRKSRC=		${WRKDIR}/${OCTSRC}/src
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+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-biosig/distinfo b/math/octave-forge-biosig/distinfo
new file mode 100644
index 000000000000..3a007f3e6057
--- /dev/null
+++ b/math/octave-forge-biosig/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666806158
+SHA256 (octave-forge/biosig4octave-2.4.3.src.tar.gz) = 4d415c6548dc600c525663f977e54d78207087406910091767903d91473b5fec
+SIZE (octave-forge/biosig4octave-2.4.3.src.tar.gz) = 1551350
diff --git a/math/octave-forge-biosig/pkg-descr b/math/octave-forge-biosig/pkg-descr
new file mode 100644
index 000000000000..bb9798ef7a7e
--- /dev/null
+++ b/math/octave-forge-biosig/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 biosig.
+
+ Biomedical signal processing tools.