aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2026-04-22 13:56:04 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2026-04-22 13:56:04 +0000
commitf331ebc400e8b0ad270af5e76e307fd2f7d76304 (patch)
treeb6f3a089f30d396f5b3da1c5c52119e4c72d19e5
parent0c5d34d5b5ea686f43fc3424318e7afdcfc42377 (diff)
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.
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-rf/Makefile24
-rw-r--r--math/octave-forge-rf/distinfo3
-rw-r--r--math/octave-forge-rf/pkg-descr15
4 files changed, 43 insertions, 0 deletions
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.