# -*- 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         Unicode-LineBreak 2019.001 ../../authors/id/N/NE/NEZUMI
revision            1
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm
long_description    {*}${description}

checksums           rmd160  c7795b35a4a48db2a1b336aac6636b1ef97db473 \
                    sha256  486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a \
                    size    312225

if {$subport != $name} {
    depends_lib-append \
                    port:p${perl5.major}-mime-charset

    # If using MacPorts compiler, don't force system ar
    if {[string match ${prefix}/* ${configure.cc}]} {
        build.args-append   FULL_AR=ar
    }
}
