mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
43 lines
1.4 KiB
Tcl
43 lines
1.4 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 traversc qs2 0.1.4
|
|
revision 0
|
|
categories-append devel
|
|
maintainers nomaintainer
|
|
license GPL-3
|
|
description Quick Serialization of R objects
|
|
long_description {*}${description}
|
|
homepage https://github.com/traversc/qs2
|
|
checksums rmd160 4419b2f26ce3bdb2173d49f9fa430a8293068c80 \
|
|
sha256 c2dec8a8643db08ae6e496fd775fe723aba86742d9fb3fc93b65aa640e162f04 \
|
|
size 955282
|
|
|
|
depends_build-append \
|
|
path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib-append port:R-Rcpp \
|
|
port:R-RcppParallel \
|
|
port:R-stringfish \
|
|
port:zstd
|
|
|
|
# Unfortunately, configure test does not work:
|
|
# https://github.com/traversc/qs2/issues/1
|
|
# So we just force it with gcc regardless:
|
|
if {[string match *gcc* ${configure.compiler}]} {
|
|
patchfiles-append \
|
|
patch-force-latomic.diff
|
|
}
|
|
|
|
build.args-append --configure-args="--without-simd --with-TBB"
|
|
|
|
depends_test-append port:R-data.table \
|
|
port:R-dplyr \
|
|
port:R-knitr \
|
|
port:R-rmarkdown \
|
|
port:R-stringi
|
|
|
|
test.run yes
|