git: 3b08abecd6b6 - main - databases/goose: New port: Database migration tool

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 12 Nov 2023 23:59:06 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b08abecd6b604b2840869ad33eb5d0b1a62de42

commit 3b08abecd6b604b2840869ad33eb5d0b1a62de42
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-12 23:58:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-12 23:58:35 +0000

    databases/goose: New port: Database migration tool
---
 databases/Makefile        |  1 +
 databases/goose/Makefile  | 21 +++++++++++++++++++++
 databases/goose/distinfo  |  5 +++++
 databases/goose/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index a96f0989d0c8..2a9be4104bfa 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -85,6 +85,7 @@
     SUBDIR += go-pgweb
     SUBDIR += gobang
     SUBDIR += gom
+    SUBDIR += goose
     SUBDIR += gqlplus
     SUBDIR += grass7
     SUBDIR += grass8
diff --git a/databases/goose/Makefile b/databases/goose/Makefile
new file mode 100644
index 000000000000..1e31971ae25d
--- /dev/null
+++ b/databases/goose/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	goose
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.16.0
+CATEGORIES=	databases
+PKGNAMESUFFIX=	-db-migration-tool
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Database migration tool
+WWW=		https://pressly.github.io/goose/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/pressly/goose/v3
+GO_TARGET=	./cmd/${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/databases/goose/distinfo b/databases/goose/distinfo
new file mode 100644
index 000000000000..6ee55cb71104
--- /dev/null
+++ b/databases/goose/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1699833105
+SHA256 (go/databases_goose/goose-v3.16.0/v3.16.0.mod) = 24adcfbb3b6d07418bed071ac250318841214a88a5d6e6d44464d9e1e6e6ff66
+SIZE (go/databases_goose/goose-v3.16.0/v3.16.0.mod) = 4367
+SHA256 (go/databases_goose/goose-v3.16.0/v3.16.0.zip) = 6297d535d71e28a768c9a3b89d29d38dc58f4fd3d0b4cab7120417bc2ad8dabd
+SIZE (go/databases_goose/goose-v3.16.0/v3.16.0.zip) = 370872
diff --git a/databases/goose/pkg-descr b/databases/goose/pkg-descr
new file mode 100644
index 000000000000..3e38853b1f69
--- /dev/null
+++ b/databases/goose/pkg-descr
@@ -0,0 +1,2 @@
+goose is a database migration tool. Manage your database schema by creating
+incremental SQL changes and/or Go functions.