aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-12 23:58:35 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-12 23:58:35 +0000
commit3b08abecd6b604b2840869ad33eb5d0b1a62de42 (patch)
treeb261de6b8fb3fe8376545208ad7e444a6369df51
parentd185ceb7c812ec973710dbbdd7107ca143bdd512 (diff)
downloadports-3b08abecd6b604b2840869ad33eb5d0b1a62de42.tar.gz
ports-3b08abecd6b604b2840869ad33eb5d0b1a62de42.zip
databases/goose: New port: Database migration tool
-rw-r--r--databases/Makefile1
-rw-r--r--databases/goose/Makefile21
-rw-r--r--databases/goose/distinfo5
-rw-r--r--databases/goose/pkg-descr2
4 files changed, 29 insertions, 0 deletions
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.