git: 67927291b74d - main - math/octave-forge-sqlite: new port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Wed, 26 Oct 2022 17:27:02 UTC
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67927291b74df200ba3e9dc33fd3987d2c05c5d0

commit 67927291b74df200ba3e9dc33fd3987d2c05c5d0
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-26 17:26:20 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-26 17:26:20 +0000

    math/octave-forge-sqlite: new port.
    
    Basic Octave implementation of the sqlite toolkit.
---
 math/Makefile                      |  1 +
 math/octave-forge-sqlite/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 math/octave-forge-sqlite/distinfo  |  3 +++
 math/octave-forge-sqlite/pkg-descr |  8 ++++++++
 4 files changed, 46 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 63c7ceff091d..386408b15282 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -605,6 +605,7 @@
     SUBDIR += octave-forge-specfun
     SUBDIR += octave-forge-special-matrix
     SUBDIR += octave-forge-splines
+    SUBDIR += octave-forge-sqlite
     SUBDIR += octave-forge-statistics
     SUBDIR += octave-forge-statistics-bootstrap
     SUBDIR += octave-forge-stk
diff --git a/math/octave-forge-sqlite/Makefile b/math/octave-forge-sqlite/Makefile
new file mode 100644
index 000000000000..ef2255ca2181
--- /dev/null
+++ b/math/octave-forge-sqlite/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	octave-forge-sqlite
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.2
+CATEGORIES=	math
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		http://octave.sourceforge.net/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	gnu-octave
+GH_PROJECT=	octave-sqlite
+
+LIB_DEPENDS+=	libsqlite3.so:databases/sqlite3
+
+USES=		autoreconf
+GNU_CONFIGURE=	yes
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${GH_PROJECT}-${DISTVERSION}
+
+WRKSRC=		${WRKDIR}/${OCTSRC}/src
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+	${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
+	cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-sqlite/distinfo b/math/octave-forge-sqlite/distinfo
new file mode 100644
index 000000000000..f2a20052a6e6
--- /dev/null
+++ b/math/octave-forge-sqlite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666804564
+SHA256 (octave-forge/gnu-octave-octave-sqlite-v0.0.2_GH0.tar.gz) = 9c7fa7255624089f6a3e27668e576594d0cad0a7fcb6f74252b121c24548583b
+SIZE (octave-forge/gnu-octave-octave-sqlite-v0.0.2_GH0.tar.gz) = 100575
diff --git a/math/octave-forge-sqlite/pkg-descr b/math/octave-forge-sqlite/pkg-descr
new file mode 100644
index 000000000000..20d8da3f8733
--- /dev/null
+++ b/math/octave-forge-sqlite/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 sqlite.
+
+ Basic Octave implementation of the sqlite toolkit.