git: 4fbdafb1e613 - main - math/octave-forge-fxp: New port.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 15:49:58 UTC
The branch main has been updated by stephen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4fbdafb1e61356ed60b116235c79a1269bed12dd
commit 4fbdafb1e61356ed60b116235c79a1269bed12dd
Author: Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2026-03-29 15:47:57 +0000
Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2026-03-29 15:47:57 +0000
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.
---
math/Makefile | 1 +
math/octave-forge-fxp/Makefile | 22 ++++++++++++++++++++++
math/octave-forge-fxp/distinfo | 3 +++
math/octave-forge-fxp/pkg-descr | 10 ++++++++++
4 files changed, 36 insertions(+)
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.