git: cce65399759f - main - databases/rubygem-pg13: new port

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Fri, 24 Jun 2022 10:20:45 UTC
The branch main has been updated by mfechner:

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

commit cce65399759fce4550f716be5818a172f474a082
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-06-24 09:50:47 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-06-24 10:20:03 +0000

    databases/rubygem-pg13: new port
    
    Copied from databases/rubygem-pg and required for gitlab-ce 15.1.
---
 databases/Makefile               |  1 +
 databases/rubygem-pg13/Makefile  | 24 ++++++++++++++++++++++++
 databases/rubygem-pg13/distinfo  |  3 +++
 databases/rubygem-pg13/pkg-descr |  5 +++++
 4 files changed, 33 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index c7a7e448b8c9..cf09aeff5f1e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -979,6 +979,7 @@
     SUBDIR += rubygem-openid-redis-store
     SUBDIR += rubygem-paranoia
     SUBDIR += rubygem-pg
+    SUBDIR += rubygem-pg13
     SUBDIR += rubygem-pg_array_parser
     SUBDIR += rubygem-pg_query
     SUBDIR += rubygem-pghero
diff --git a/databases/rubygem-pg13/Makefile b/databases/rubygem-pg13/Makefile
new file mode 100644
index 000000000000..4d136c6e3521
--- /dev/null
+++ b/databases/rubygem-pg13/Makefile
@@ -0,0 +1,24 @@
+# Created by: Wen Heping <wenheping@gmail.com>
+
+PORTNAME=	pg
+PORTVERSION=	1.3.5
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	13
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Ruby interface to PostgreSQL library
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
+LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE
+
+USES=		gem pgsql
+USE_RUBY=	yes
+
+CONFIGURE_ARGS=	--with-pgsql-include-dir=`${PG_CONFIG} --includedir` \
+		--with-pgsql-lib-dir=`${PG_CONFIG} --libdir`
+PG_CONFIG=	${LOCALBASE}/bin/pg_config
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-pg13/distinfo b/databases/rubygem-pg13/distinfo
new file mode 100644
index 000000000000..a0bc81e5d2ae
--- /dev/null
+++ b/databases/rubygem-pg13/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1656057842
+SHA256 (rubygem/pg-1.3.5.gem) = 26d63ff027a72e50950cc0eda0ba38a878dd59d7cc2705d2334a963c58fd3e83
+SIZE (rubygem/pg-1.3.5.gem) = 201216
diff --git a/databases/rubygem-pg13/pkg-descr b/databases/rubygem-pg13/pkg-descr
new file mode 100644
index 000000000000..9797b3985694
--- /dev/null
+++ b/databases/rubygem-pg13/pkg-descr
@@ -0,0 +1,5 @@
+rubygem-pg provides the module "pg", a Ruby interface to the
+PostgreSQL Relational Database Management System, which
+supersedes the old "postgres" module.
+
+WWW: https://github.com/ged/ruby-pg