aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2026-03-02 16:43:37 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2026-03-02 16:43:37 +0000
commit5d5154fc926f99d876678f5e09e349af7c93aaf7 (patch)
tree58105a43d51cdb777071fe3bab6d0c2f96ff60b6
parent1de1e03a91a69cca21767cd79064140759c1d507 (diff)
math/octave-forge-apa: New port.
Arbitrary Precision Arithmetic (APA) package for Octave/Matlab. This package is a wrapper around the MPFR library, which provides arbitrary precision floating-point arithmetic. The package allows users to perform calculations with a precision that can be set at runtime, making it suitable for applications that require high precision, such as numerical analysis and scientific computing.
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-apa/Makefile27
-rw-r--r--math/octave-forge-apa/distinfo3
-rw-r--r--math/octave-forge-apa/pkg-descr13
4 files changed, 44 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index e225fecb37f7..2d46f59b1b68 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -556,6 +556,7 @@
SUBDIR += octave
SUBDIR += octave-forge
SUBDIR += octave-forge-actuarial
+ SUBDIR += octave-forge-apa
SUBDIR += octave-forge-audio
SUBDIR += octave-forge-automatic-differentiation
SUBDIR += octave-forge-base
diff --git a/math/octave-forge-apa/Makefile b/math/octave-forge-apa/Makefile
new file mode 100644
index 000000000000..13a870663dc9
--- /dev/null
+++ b/math/octave-forge-apa/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= octave-forge-apa
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.0
+CATEGORIES= math
+
+MAINTAINER= stephen@FreeBSD.org
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+WWW= https://packages.octave.org/
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= octave
+
+LIB_DEPENDS+= libmpfr.so:math/mpfr \
+
+USE_GITHUB= yes
+GH_ACCOUNT= gnu-octave
+GH_PROJECT= pkg-apa
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+WRKSRC= ${WRKDIR}/${OCTAVE_SRC}
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-apa/distinfo b/math/octave-forge-apa/distinfo
new file mode 100644
index 000000000000..f12876f5fcc5
--- /dev/null
+++ b/math/octave-forge-apa/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1772468507
+SHA256 (octave-forge/gnu-octave-pkg-apa-v1.1.0_GH0.tar.gz) = e5aa44ab0e7968c3594219a11bd83791797858ea50fba9c23ded7fc459075ded
+SIZE (octave-forge/gnu-octave-pkg-apa-v1.1.0_GH0.tar.gz) = 168572
diff --git a/math/octave-forge-apa/pkg-descr b/math/octave-forge-apa/pkg-descr
new file mode 100644
index 000000000000..e06f01e2e4dd
--- /dev/null
+++ b/math/octave-forge-apa/pkg-descr
@@ -0,0 +1,13 @@
+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 apa.
+
+ Arbitrary Precision Arithmetic (APA) package for Octave/Matlab. This package
+ is a wrapper around the MPFR library, which provides arbitrary precision
+ floating-point arithmetic. The package allows users to perform calculations
+ with a precision that can be set at runtime, making it suitable for
+ applications that require high precision, such as numerical analysis and
+ scientific computing.