git: 5b4b4db2d8c3 - main - databases/rubygem-pghero-rails61: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 02:14:10 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b4b4db2d8c3e1a173bf164c747dd1c77c649d53

commit 5b4b4db2d8c3e1a173bf164c747dd1c77c649d53
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 02:12:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 02:14:01 +0000

    databases/rubygem-pghero-rails61: New port
    
    PgHere is a performance dashboard for Postgres.  It includes health checks,
    suggested indexes, and more.
    
    Sponsored by:   Nepustil
---
 databases/Makefile                         |  1 +
 databases/rubygem-pghero-rails61/Makefile  | 23 +++++++++++++++++++++++
 databases/rubygem-pghero-rails61/distinfo  |  3 +++
 databases/rubygem-pghero-rails61/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 70cd8cc60d8a..2077d490b9c4 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -978,6 +978,7 @@
     SUBDIR += rubygem-pghero
     SUBDIR += rubygem-pghero-rails5
     SUBDIR += rubygem-pghero-rails50
+    SUBDIR += rubygem-pghero-rails61
     SUBDIR += rubygem-pl-puppetdb-ruby
     SUBDIR += rubygem-postgres_ext
     SUBDIR += rubygem-puppetdb_cli
diff --git a/databases/rubygem-pghero-rails61/Makefile b/databases/rubygem-pghero-rails61/Makefile
new file mode 100644
index 000000000000..48585f3f6a24
--- /dev/null
+++ b/databases/rubygem-pghero-rails61/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pghero
+PORTVERSION=	2.8.3
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails61
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Performance dashboard for Postgres
+WWW=		https://github.com/ankane/pghero
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-activerecord61>=5:databases/rubygem-activerecord61
+
+USES=		cpe gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	pghero_project
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-pghero-rails61/distinfo b/databases/rubygem-pghero-rails61/distinfo
new file mode 100644
index 000000000000..2cc1b169ba8b
--- /dev/null
+++ b/databases/rubygem-pghero-rails61/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652122939
+SHA256 (rubygem/pghero-2.8.3.gem) = 8ab4f07beb0496f1468b9f07423d1fe8dd009e2b725dd4d5b0583e9afcd70cec
+SIZE (rubygem/pghero-2.8.3.gem) = 326656
diff --git a/databases/rubygem-pghero-rails61/pkg-descr b/databases/rubygem-pghero-rails61/pkg-descr
new file mode 100644
index 000000000000..7111f43908cc
--- /dev/null
+++ b/databases/rubygem-pghero-rails61/pkg-descr
@@ -0,0 +1,2 @@
+PgHere is a performance dashboard for Postgres.  It includes health checks,
+suggested indexes, and more.