2023-09-28 01:06:54 +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
|
|
|
|
|
|
2023-09-28 21:06:24 +07:00
|
|
|
# GitHub version lags behind.
|
2024-11-10 04:24:06 +08:00
|
|
|
R.setup cran r-dbi RMySQL 0.10.29
|
2024-08-23 09:17:45 +08:00
|
|
|
revision 0
|
2023-09-28 01:06:54 +07:00
|
|
|
categories-append databases
|
2026-04-11 19:42:02 +04:00
|
|
|
maintainers nomaintainer
|
2023-09-28 21:06:24 +07:00
|
|
|
license GPL-2
|
|
|
|
|
description Legacy R-DBI interface to MySQL/MariaDB
|
2023-09-28 01:06:54 +07:00
|
|
|
long_description {*}${description}
|
2024-11-10 04:24:06 +08:00
|
|
|
checksums rmd160 bef80dacd353989d5f2284c0bd698d442784c20c \
|
|
|
|
|
sha256 82e89e3fcebc21b13701dc89af54700fafc22762510db88eb6c3b965f2976b86 \
|
|
|
|
|
size 53241
|
2023-09-28 01:06:54 +07:00
|
|
|
|
|
|
|
|
set mariadb_ver 10.11
|
|
|
|
|
|
|
|
|
|
depends_build-append \
|
2024-08-23 09:17:45 +08:00
|
|
|
path:bin/pkg-config:pkgconfig
|
|
|
|
|
|
2023-09-28 01:06:54 +07:00
|
|
|
depends_lib-append port:mariadb-${mariadb_ver} \
|
|
|
|
|
port:R-DBI
|
|
|
|
|
|
|
|
|
|
patchfiles patch-configure.diff
|
|
|
|
|
|
2024-02-01 14:23:46 +08:00
|
|
|
build.args-append --configure-vars="INCLUDE_DIR=${prefix}/include/mariadb-${mariadb_ver}/mysql \
|
|
|
|
|
LIB_DIR=${prefix}/lib/mariadb-${mariadb_ver}/mysql"
|
2023-09-28 01:06:54 +07:00
|
|
|
|
|
|
|
|
depends_test-append port:R-curl \
|
|
|
|
|
port:R-testthat
|
|
|
|
|
|
|
|
|
|
# This is intended for now; what works for destroot does not work with running tests.
|
|
|
|
|
test.run no
|