# -*- 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 # GitHub version lags behind. R.setup cran jeroen protolite 2.3.0 revision 1 categories-append devel maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license MIT description Highly optimized protocol buffer serializers long_description {*}${description} homepage-append https://jeroen.r-universe.dev/protolite checksums rmd160 cb921ee74ac1062268ba66e5a20e31851af10f69 \ sha256 53ef24d51a8348f97bec39d254df3b97bd8b3d9bbffb81d6b06aad849cf78ce9 \ size 25204 patchfiles patch-configure.diff if {${os.platform} eq "darwin" && ${os.major} < 16} { # Symbol not found: __ZN6google8protobuf8internal26fixed_address_empty_stringB5cxx11E patchfiles-append \ patch-cxx11.diff } depends_build-append \ port:pkgconfig depends_lib-append port:protobuf3-cpp \ port:R-jsonlite \ port:R-Rcpp # To build against a non-default version of protobuf, pass the following to destroot.cmd: # --configure-vars='INCLUDE_DIR=/.../include LIB_DIR=/.../lib' compiler.cxx_standard 2017 depends_test-append port:R-curl \ port:R-RProtoBuf \ port:R-sf \ port:R-spelling \ port:R-testthat test.run yes