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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Autodia 2.14
revision            2
categories-append   graphics
maintainers         {snc @nerdling} openmaintainer
license             GPL-2+
description         Create XML diagrams
long_description    AutoDia is an open-source, auto-documentation and auto-diagramming \
                    system allowing you to automatically generate Images, XML, HTML or Dia \
                    files.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  9cbd7e99350155f2da41fe5db52ebd778bdb1899 \
                    sha256  ac8125c88abe39d9fe01ca3acc13a00a29f3336a4bb7ef60447e6b8b822ff422

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-xml-simple

    variant graphviz description {Build with graphviz support} {
        depends_lib-append \
                    port:p${perl5.major}-graphviz
    }
}

if {${name} ne ${subport}} {
    livecheck.type  none
}
