aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2025-10-13 20:12:41 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2025-10-13 20:12:41 +0000
commitf94ff40ac0c394fc44e9042e5c9bd34886800ad4 (patch)
tree71adbb47feaa36f8ee240e8be0764b6bd0eddf96
parent2348ad2c10961db8d6a1ba4134603b777c917f14 (diff)
math/octave-forge-joystick: New port.
Provides basic joystick functions for GNU Octave.
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-joystick/Makefile26
-rw-r--r--math/octave-forge-joystick/distinfo3
-rw-r--r--math/octave-forge-joystick/pkg-descr8
4 files changed, 38 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 076bb693bafd..c53eb5072daf 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -604,6 +604,7 @@
SUBDIR += octave-forge-interval
SUBDIR += octave-forge-io
SUBDIR += octave-forge-irsa
+ SUBDIR += octave-forge-joystick
SUBDIR += octave-forge-level-set
SUBDIR += octave-forge-linear-algebra
SUBDIR += octave-forge-lssa
diff --git a/math/octave-forge-joystick/Makefile b/math/octave-forge-joystick/Makefile
new file mode 100644
index 000000000000..75c192b70a09
--- /dev/null
+++ b/math/octave-forge-joystick/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= octave-forge-joystick
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.4
+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
+
+BUILD_DEPENDS+ cmake:devel/cmake # Required by configure.
+
+LIB_DEPENDS+= libSDL2.so:devel/sdl20
+
+USES= octave autoreconf
+USE_GITHUB= yes
+GH_ACCOUNT= gnu-octave
+GH_PROJECT= octave-joystick
+
+GNU_CONFIGURE= yes
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-joystick/distinfo b/math/octave-forge-joystick/distinfo
new file mode 100644
index 000000000000..6b7d79577d42
--- /dev/null
+++ b/math/octave-forge-joystick/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760386084
+SHA256 (octave-forge/gnu-octave-octave-joystick-v0.0.4_GH0.tar.gz) = 9b54728ca7c67bf098950d757c381a693d94b20b57533a3a44bc3f3c2d50b73c
+SIZE (octave-forge/gnu-octave-octave-joystick-v0.0.4_GH0.tar.gz) = 118692
diff --git a/math/octave-forge-joystick/pkg-descr b/math/octave-forge-joystick/pkg-descr
new file mode 100644
index 000000000000..0422277613d9
--- /dev/null
+++ b/math/octave-forge-joystick/pkg-descr
@@ -0,0 +1,8 @@
+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 joystick.
+
+ Provides basic joystick functions for GNU Octave.