git: f331ebc400e8 - main - math/octave-forge-rf: New port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Wed, 22 Apr 2026 13:57:56 UTC
The branch main has been updated by stephen:

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

commit f331ebc400e8b0ad270af5e76e307fd2f7d76304
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2026-04-22 13:56:04 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2026-04-22 13:56:04 +0000

    math/octave-forge-rf: New port.
    
    RF and microwave network-parameter utilities for GNU Octave. Provides
    S-parameter conversions (ST, SZ, SY, SABCD, SH, SG), cascading,
    de-embedding, port reordering, renormalization, mixed-mode conversion
    for differential pairs, and Touchstone I/O.
---
 math/Makefile                  |  1 +
 math/octave-forge-rf/Makefile  | 24 ++++++++++++++++++++++++
 math/octave-forge-rf/distinfo  |  3 +++
 math/octave-forge-rf/pkg-descr | 15 +++++++++++++++
 4 files changed, 43 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 43b6747dc4ba..478f67b0efdc 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -663,6 +663,7 @@
     SUBDIR += octave-forge-pythonic
     SUBDIR += octave-forge-quaternion
     SUBDIR += octave-forge-queueing
+    SUBDIR += octave-forge-rf
     SUBDIR += octave-forge-rtree
     SUBDIR += octave-forge-secs1d
     SUBDIR += octave-forge-secs2d
diff --git a/math/octave-forge-rf/Makefile b/math/octave-forge-rf/Makefile
new file mode 100644
index 000000000000..460711690497
--- /dev/null
+++ b/math/octave-forge-rf/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	octave-forge-rf
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.0
+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_GITHUB=	yes
+GH_ACCOUNT=	Sparamix
+GH_PROJECT=	octave-rf
+
+OCTAVE_SRC=	${GH_PROJECT}-${DISTVERSION}
+WRKSRC=		${WRKDIR}/${OCTAVE_SRC}
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-rf/distinfo b/math/octave-forge-rf/distinfo
new file mode 100644
index 000000000000..f374e16c1255
--- /dev/null
+++ b/math/octave-forge-rf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776861441
+SHA256 (octave-forge/Sparamix-octave-rf-v0.1.0_GH0.tar.gz) = c2df97f1bd3a9d586d8904f2c89a6683878fe6ed89bb32ef03695d0c10fbbcda
+SIZE (octave-forge/Sparamix-octave-rf-v0.1.0_GH0.tar.gz) = 20699253
diff --git a/math/octave-forge-rf/pkg-descr b/math/octave-forge-rf/pkg-descr
new file mode 100644
index 000000000000..b912665853a0
--- /dev/null
+++ b/math/octave-forge-rf/pkg-descr
@@ -0,0 +1,15 @@
+The octave-forge package is the result of The GNU Octave Repository 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 rf.
+
+ RF and microwave network-parameter utilities for GNU Octave. Provides
+S-parameter conversions (ST, SZ, SY, SABCD, SH, SG), cascading, de-embedding,
+port reordering, renormalization, mixed-mode conversion for differential
+pairs, and Touchstone I/O. Function signatures match the MATLAB RF Toolbox,
+so the same user code runs in both environments. Cross-validated against
+MATLAB R2025b, MATLAB R2020b (backwards-compatibility), and scikit-rf 1.11.0
+to floating-point precision — 144/144 pair-wise tests pass across all four
+comparison pairs.