git: f4286856094d - main - databases/R-cran-RPostgres: New port: C++ interface to PostgreSQL using cpp11

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 29 Mar 2026 17:11:52 UTC
The branch main has been updated by yuri:

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

commit f4286856094d3b9f837af69ca2478a12deb33c13
Author:     Christos Longros <chris.longros@gmail.com>
AuthorDate: 2026-03-29 17:01:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-29 17:02:09 +0000

    databases/R-cran-RPostgres: New port: C++ interface to PostgreSQL using cpp11
    
    Differential Revision:  https://reviews.freebsd.org/D56083
---
 databases/Makefile                   |  1 +
 databases/R-cran-RPostgres/Makefile  | 24 ++++++++++++++++++++++++
 databases/R-cran-RPostgres/distinfo  |  3 +++
 databases/R-cran-RPostgres/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 8e6b7746e746..e018cacc4143 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -4,6 +4,7 @@
     SUBDIR += R-cran-RMariaDB
     SUBDIR += R-cran-RMySQL
     SUBDIR += R-cran-RPostgreSQL
+    SUBDIR += R-cran-RPostgres
     SUBDIR += R-cran-RSQLite
     SUBDIR += R-cran-cachem
     SUBDIR += R-cran-dbplyr
diff --git a/databases/R-cran-RPostgres/Makefile b/databases/R-cran-RPostgres/Makefile
new file mode 100644
index 000000000000..489ca3f3c860
--- /dev/null
+++ b/databases/R-cran-RPostgres/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	RPostgres
+DISTVERSION=	1.4.10
+CATEGORIES=	databases
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	chris.longros@gmail.com
+COMMENT=	C++ interface to PostgreSQL using cpp11
+WWW=		https://cran.r-project.org/package=RPostgres
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-bit64>0:devel/R-cran-bit64 \
+		R-cran-blob>=1.2.0:devel/R-cran-blob \
+		R-cran-cpp11>0:devel/R-cran-cpp11 \
+		R-cran-DBI>=1.2.0:databases/R-cran-DBI \
+		R-cran-hms>=1.0.0:devel/R-cran-hms \
+		R-cran-lubridate>0:devel/R-cran-lubridate \
+		R-cran-withr>0:devel/R-cran-withr
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles pgsql
+
+.include <bsd.port.mk>
diff --git a/databases/R-cran-RPostgres/distinfo b/databases/R-cran-RPostgres/distinfo
new file mode 100644
index 000000000000..b957bc95e4b3
--- /dev/null
+++ b/databases/R-cran-RPostgres/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740355200
+SHA256 (RPostgres_1.4.10.tar.gz) = f73424438dbab7eb94e75b0732d62e7d25dd52040cac99b07b9c71f0a1fd03e9
+SIZE (RPostgres_1.4.10.tar.gz) = 1471625
diff --git a/databases/R-cran-RPostgres/pkg-descr b/databases/R-cran-RPostgres/pkg-descr
new file mode 100644
index 000000000000..ba615ad1e54b
--- /dev/null
+++ b/databases/R-cran-RPostgres/pkg-descr
@@ -0,0 +1,4 @@
+Fully DBI-compliant C++ interface to PostgreSQL using the cpp11
+package. This is the modern replacement for RPostgreSQL, providing
+better performance, more complete DBI support, and active maintenance
+by the r-dbi team.