git: 1c50be5d18a3 - main - databases/rubygem-pg-gitlab: Add rubygem-pg-gitlab 1.5.9 (copied from rubygem-pg)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 12 Aug 2025 18:16:54 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c50be5d18a39acdfed9ef0e94847aa46ea3ffed

commit 1c50be5d18a39acdfed9ef0e94847aa46ea3ffed
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-08-12 17:41:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-08-12 18:15:27 +0000

    databases/rubygem-pg-gitlab: Add rubygem-pg-gitlab 1.5.9 (copied from rubygem-pg)
    
    - Add PORTSCOUT
---
 databases/Makefile                    |  1 +
 databases/rubygem-pg-gitlab/Makefile  | 24 ++++++++++++++++++++++++
 databases/rubygem-pg-gitlab/distinfo  |  3 +++
 databases/rubygem-pg-gitlab/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 42b25b39d02c..ff431296db1e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1022,6 +1022,7 @@
     SUBDIR += rubygem-openid-redis-store
     SUBDIR += rubygem-paranoia
     SUBDIR += rubygem-pg
+    SUBDIR += rubygem-pg-gitlab
     SUBDIR += rubygem-pg_array_parser
     SUBDIR += rubygem-pg_query
     SUBDIR += rubygem-pghero
diff --git a/databases/rubygem-pg-gitlab/Makefile b/databases/rubygem-pg-gitlab/Makefile
new file mode 100644
index 000000000000..42944ed5613a
--- /dev/null
+++ b/databases/rubygem-pg-gitlab/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	pg
+PORTVERSION=	1.5.9
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Ruby interface to PostgreSQL library
+WWW=		https://github.com/ged/ruby-pg
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
+LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE
+
+USES=		gem pgsql
+
+CONFIGURE_ARGS=	--with-pgsql-include-dir=`${PG_CONFIG} --includedir` \
+		--with-pgsql-lib-dir=`${PG_CONFIG} --libdir`
+PG_CONFIG=	${LOCALBASE}/bin/pg_config
+
+PORTSCOUT=	limit:^1\.5\.
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-pg-gitlab/distinfo b/databases/rubygem-pg-gitlab/distinfo
new file mode 100644
index 000000000000..61357109ceb0
--- /dev/null
+++ b/databases/rubygem-pg-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729994430
+SHA256 (rubygem/pg-1.5.9.gem) = 761efbdf73b66516f0c26fcbe6515dc7500c3f0aa1a1b853feae245433c64fdc
+SIZE (rubygem/pg-1.5.9.gem) = 207872
diff --git a/databases/rubygem-pg-gitlab/pkg-descr b/databases/rubygem-pg-gitlab/pkg-descr
new file mode 100644
index 000000000000..f942a1c46ddd
--- /dev/null
+++ b/databases/rubygem-pg-gitlab/pkg-descr
@@ -0,0 +1,3 @@
+rubygem-pg provides the module "pg", a Ruby interface to the
+PostgreSQL Relational Database Management System, which
+supersedes the old "postgres" module.