summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2024-04-05 12:32:29 -0500
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2024-04-05 12:32:29 -0500
commit298e073f92b4d991b3a53c14d887304dca188d27 (patch)
tree11f3128d8064e06d66cc43c286ba47e743fc4615 /math
parentlang/gptscript: Update to 0.4.2 (diff)
math/octave-forge-odbc: New port.
The octave-forge package is the result of The GNU Octave Repositry 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 odbc. Basic Octave implementation of the ODBC toolkit.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-odbc/Makefile25
-rw-r--r--math/octave-forge-odbc/distinfo3
-rw-r--r--math/octave-forge-odbc/files/patch-configure.ac11
-rw-r--r--math/octave-forge-odbc/pkg-descr8
5 files changed, 48 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index ec8f047665b1..ab0eea7ea373 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -615,6 +615,7 @@
SUBDIR += octave-forge-octave-pool
SUBDIR += octave-forge-octclip
SUBDIR += octave-forge-octproj
+ SUBDIR += octave-forge-odbc
SUBDIR += octave-forge-odebvp
SUBDIR += octave-forge-onsas
SUBDIR += octave-forge-optics
diff --git a/math/octave-forge-odbc/Makefile b/math/octave-forge-odbc/Makefile
new file mode 100644
index 000000000000..9a82085d5c23
--- /dev/null
+++ b/math/octave-forge-odbc/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= octave-forge-odbc
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.2
+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
+
+LIB_DEPENDS+= libodbc.so:databases/unixODBC \
+ libsqlite3odbc.so:databases/sqliteodbc
+
+USES= octave autoreconf
+USE_GITHUB= yes
+GH_ACCOUNT= gnu-octave
+GH_PROJECT= octave-odbc
+
+GNU_CONFIGURE= yes
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-odbc/distinfo b/math/octave-forge-odbc/distinfo
new file mode 100644
index 000000000000..55224fe18506
--- /dev/null
+++ b/math/octave-forge-odbc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712171504
+SHA256 (octave-forge/gnu-octave-octave-odbc-v0.0.2_GH0.tar.gz) = e5e4daefa2aa9423c70cfc99ad1a38f4baf57d10c762722982cce6803e9f1871
+SIZE (octave-forge/gnu-octave-octave-odbc-v0.0.2_GH0.tar.gz) = 73739
diff --git a/math/octave-forge-odbc/files/patch-configure.ac b/math/octave-forge-odbc/files/patch-configure.ac
new file mode 100644
index 000000000000..cc791f230008
--- /dev/null
+++ b/math/octave-forge-odbc/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2024-04-03 21:52:15.764296000 -0500
++++ configure.ac 2024-04-03 21:52:51.590619000 -0500
+@@ -200,7 +200,7 @@
+ ODBC_LIBS=`$ODBC_CONFIG --libs`
+ ODBC_CFLAGS=`$ODBC_CONFIG --cflags`
+ else
+- PKG_CHECK_MODULES([ODBC], [odbc])
++ true
+ fi
+ fi
+ AC_SUBST([ODBC_LIBS])
diff --git a/math/octave-forge-odbc/pkg-descr b/math/octave-forge-odbc/pkg-descr
new file mode 100644
index 000000000000..8d60dd62abde
--- /dev/null
+++ b/math/octave-forge-odbc/pkg-descr
@@ -0,0 +1,8 @@
+The octave-forge package is the result of The GNU Octave Repositry 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 odbc.
+
+ Basic Octave implementation of the ODBC toolkit.