# -*- 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

# Revert to GitHub once updated there.
R.setup             cran Non-Contradiction JuliaCall 0.17.6 v
revision            2
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Seamless integration between R and Julia
long_description    {*}${description}
homepage            https://non-contradiction.github.io/JuliaCall/index.html
checksums           rmd160  a54c81d356d0587bad5edfde7e771dc855d9f802 \
                    sha256  c1800d9ec0cf4def7fd969374afc2ec371dfa1b5eb0602301b13fb75264a9a63 \
                    size    1437383
# github.tarball_from archive

depends_lib-append  port:R-knitr \
                    port:R-Rcpp \
                    port:R-rjson

depends_test-append port:R-rappdirs \
                    port:R-rmarkdown \
                    port:R-sass \
                    port:R-testthat

# Despite being listed as a system requirement, Julia is not needed
# for the build or tests. Since it is broken on PowerPC, add a note.
notes "
To use ${name}, it is recommended to install julia port.\
Notice that julia is not supported on some platforms presently.
"

test.run            yes
