aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2026-03-29 15:47:57 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2026-03-29 15:47:57 +0000
commit4fbdafb1e61356ed60b116235c79a1269bed12dd (patch)
tree96d6ce99d7b71face5416e5037dbbe17e0e5260e
parent1236db071ef7efdf3a4c077183da2bd8a26246c8 (diff)
math/octave-forge-fxp: New port.
Lightweight fixed-point numeric type for GNU Octave. Intended for fixed-point modeling, algorithm validation, and education. Supports signed and unsigned formats, quantization, overflow handling, and basic arithmetic operations.
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-fxp/Makefile22
-rw-r--r--math/octave-forge-fxp/distinfo3
-rw-r--r--math/octave-forge-fxp/pkg-descr10
4 files changed, 36 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index cbbb2e0cd4b5..0e60071763c5 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -592,6 +592,7 @@
SUBDIR += octave-forge-fl-core
SUBDIR += octave-forge-fpl
SUBDIR += octave-forge-fuzzy-logic-toolkit
+ SUBDIR += octave-forge-fxp
SUBDIR += octave-forge-ga
SUBDIR += octave-forge-general
SUBDIR += octave-forge-generate_html
diff --git a/math/octave-forge-fxp/Makefile b/math/octave-forge-fxp/Makefile
new file mode 100644
index 000000000000..81200ad9e898
--- /dev/null
+++ b/math/octave-forge-fxp/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= octave-forge-fxp
+DISTVERSION= 2.0.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= ahmedshahein
+GH_PROJECT= pkg-fxp
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-fxp/distinfo b/math/octave-forge-fxp/distinfo
new file mode 100644
index 000000000000..03fbe09cf15b
--- /dev/null
+++ b/math/octave-forge-fxp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774798760
+SHA256 (octave-forge/ahmedshahein-pkg-fxp-2.0.0_GH0.tar.gz) = 491c4001390d71da2412d11c43b13f0988712242df83bb1b9efdc80e6d3fce6a
+SIZE (octave-forge/ahmedshahein-pkg-fxp-2.0.0_GH0.tar.gz) = 562453
diff --git a/math/octave-forge-fxp/pkg-descr b/math/octave-forge-fxp/pkg-descr
new file mode 100644
index 000000000000..f4736570a58e
--- /dev/null
+++ b/math/octave-forge-fxp/pkg-descr
@@ -0,0 +1,10 @@
+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 fxp.
+
+ Lightweight fixed-point numeric type for GNU Octave. Intended for fixed-point
+ modeling, algorithm validation, and education. Supports signed and unsigned
+ formats, quantization, overflow handling, and basic arithmetic operations.