# -*- 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 igraph igraph 2.0.3
revision            1
maintainers         {gmail.com:szhorvat @szhorvat} \
                    {@barracuda156 gmail.com:vital.had} \
                    openmaintainer
license             GPL-2+
description         Network Analysis and Visualization
long_description    Routines for simple graphs and network analysis. \
                    It can handle large graphs very well and provides functions \
                    for generating random and regular graphs, graph visualization, \
                    centrality methods and much more.
homepage            https://igraph.org/r
checksums           rmd160  e135746c529ea30ba91d838106a735759bb48ea8 \
                    sha256  8e8a172d4567219474562cfb1085496be3ab356483c4e88011aca1fc3b2d8f76 \
                    size    4967875

depends_lib-append  path:lib/pkgconfig/icu-uc.pc:icu \
                    port:glpk \
                    port:gmp \
                    port:libxml2 \
                    port:R-cli \
                    port:R-cpp11 \
                    port:R-lifecycle \
                    port:R-magrittr \
                    port:R-pkgconfig \
                    port:R-rlang \
                    port:R-vctrs

compilers.setup     require_fortran

depends_test-append port:R-ape \
                    port:R-callr \
                    port:R-decor \
                    port:R-digest \
                    port:R-graph \
                    port:R-igraphdata \
                    port:R-knitr \
                    port:R-rgl \
                    port:R-rmarkdown \
                    port:R-scales \
                    port:R-testthat \
                    port:R-vdiffr \
                    port:R-withr

test.run            yes
