Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2024 17:39:42 GMT
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 298e073f92b4 - main - math/octave-forge-odbc: New port.
Message-ID:  <202404051739.435Hdgm9016100@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=298e073f92b4d991b3a53c14d887304dca188d27

commit 298e073f92b4d991b3a53c14d887304dca188d27
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-04-05 17:32:29 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-04-05 17:32:29 +0000

    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.
---
 math/Makefile                                   |  1 +
 math/octave-forge-odbc/Makefile                 | 25 +++++++++++++++++++++++++
 math/octave-forge-odbc/distinfo                 |  3 +++
 math/octave-forge-odbc/files/patch-configure.ac | 11 +++++++++++
 math/octave-forge-odbc/pkg-descr                |  8 ++++++++
 5 files changed, 48 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404051739.435Hdgm9016100>