You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
48 lines
1.7 KiB
Tcl
48 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
R.setup cran r-dbi RPostgres 1.4.7
|
|
revision 0
|
|
categories-append databases
|
|
maintainers nomaintainer
|
|
license GPL-3
|
|
description Rcpp Interface to PostgreSQL
|
|
long_description {*}${description}
|
|
homepage https://rpostgres.r-dbi.org
|
|
checksums rmd160 d51a723837e8079ebcb7a4e62b601d6eb4b94b95 \
|
|
sha256 3dd1f1d83bd8a25a0a86532c6971072fccea7b1769f601ad9daa8c9aa8f66924 \
|
|
size 1476313
|
|
|
|
# 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 \
|
|
port:R-cpp11 \
|
|
port:R-DBI \
|
|
port:R-hms \
|
|
port:R-lubridate \
|
|
port:R-plogr \
|
|
port:R-withr
|
|
|
|
build.args-append --configure-vars=' \
|
|
INCLUDE_DIR=${prefix}/include/${pgsql} \
|
|
LIB_DIR=${prefix}/lib/${pgsql} '
|
|
|
|
depends_test-append port:R-callr \
|
|
port:R-covr \
|
|
port:R-DBItest \
|
|
port:R-knitr \
|
|
port:R-rlang \
|
|
port:R-rmarkdown \
|
|
port:R-testthat
|
|
|
|
test.run no
|