# -*- 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 schochastics graphlayouts 1.1.1 v
revision            1
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Additional layout algorithms for network visualizations
long_description    {*}${description}
homepage            http://graphlayouts.schochastics.net
checksums           rmd160  ceff6681be75d4ed84c24395c69e7a8f447d9634 \
                    sha256  7bc2459a02b1339ac01184a76687a3e50de5680f4699b5966a3f2e6a882f3801 \
                    size    3827271

depends_lib-append  port:R-igraph \
                    port:R-Rcpp \
                    port:R-RcppArmadillo

# Apparently ARMA_64BIT_WORD can be used on 32-bit platforms as well.
# https://github.com/schochastics/graphlayouts/issues/49

depends_test-append port:R-ggplot2 \
                    port:R-ggraph \
                    port:R-knitr \
                    port:R-oaqc \
                    port:R-rmarkdown \
                    port:R-testthat \
                    port:R-uwot

test.run            yes
