# -*- 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         SVG 2.88 ../../authors/id/M/MA/MANWAR
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         SVG - Perl extension for generating Scalable Vector Graphics (SVG) documents.
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  27cebcc96cb2b2f4c78af53c3b6928d279a996e9 \
                    sha256  cb12ba73dd5339957885f23e9950a4654aeb6a04040480107c946bdae56689fc \
                    size    59455

if {${perl5.major} != ""} {
    post-destroot {
        set examplesdir ${destroot}${prefix}/share/perl${perl5.major}/examples/SVG
        xinstall -d ${examplesdir}
        xinstall -m 644 {*}[glob ${worksrcpath}/examples/*] ${examplesdir}
    }
}
