Files

48 lines
1.7 KiB
Tcl
Raw Permalink Normal View History

2023-09-28 00:43:55 +07:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup R 1.0
2024-05-28 13:55:06 +08:00
R.setup cran r-dbi RPostgres 1.4.7
revision 0
2023-09-28 00:43:55 +07:00
categories-append databases
2026-04-11 19:42:02 +04:00
maintainers nomaintainer
2023-09-28 00:43:55 +07:00
license GPL-3
description Rcpp Interface to PostgreSQL
long_description {*}${description}
homepage https://rpostgres.r-dbi.org
2024-05-28 13:55:06 +08:00
checksums rmd160 d51a723837e8079ebcb7a4e62b601d6eb4b94b95 \
sha256 3dd1f1d83bd8a25a0a86532c6971072fccea7b1769f601ad9daa8c9aa8f66924 \
size 1476313
2023-09-28 00:43:55 +07:00
# Keep in sync with R-RPostgreSQL, so that we do not need multiple postgresql ports.
# Make sure a chosen version is supported for all archs, including powerpc.
set pgsql postgresql15
# configure script is fancy but totally defunct; fix it:
patchfiles patch-unbreak-configure.diff
depends_lib-append port:${pgsql} \
port:R-bit64 \
port:R-blob \
2024-05-28 13:55:06 +08:00
port:R-cpp11 \
2023-09-28 00:43:55 +07:00
port:R-DBI \
port:R-hms \
port:R-lubridate \
port:R-plogr \
port:R-withr
2024-03-27 21:25:00 +08:00
build.args-append --configure-vars=' \
2023-09-28 00:43:55 +07:00
INCLUDE_DIR=${prefix}/include/${pgsql} \
LIB_DIR=${prefix}/lib/${pgsql} '
2023-11-10 10:22:32 +08:00
depends_test-append port:R-callr \
port:R-covr \
port:R-DBItest \
port:R-knitr \
2024-05-28 13:55:06 +08:00
port:R-rlang \
2023-11-10 10:22:32 +08:00
port:R-rmarkdown \
port:R-testthat
2023-09-28 00:43:55 +07:00
test.run no