# -*- 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         List-Uniq v0.21.0 ../../authors/id/J/JF/JFITZ/
revision            1
license             {Artistic-1 GPL}
platforms           {darwin any}
maintainers         nomaintainer

homepage            https://metacpan.org/release/JFITZ/${perl5.module}-${perl5.moduleversion}

description         List::Uniq extracts the unique elements of a list

long_description    ${description}

checksums           rmd160  50e0117733e6b39364a4d3686a9814196832380c \
                    sha256  0a32eacb7d805ecb67ff5a5771573dcaf3238d1eada1f6e91b2de7455b8d5a45 \
                    size    7164

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-nowarnings

    patchfiles      patch-01_use.t.diff

    supported_archs noarch
}

# disable livecheck for port and all subports due to long standing upstream version error
# version v0.21.0 was meant to be greater than 0.20 (but its not)
# https://rt.cpan.org/Ticket/Display.html?id=106262
# upstream author AWOL since 2014
livecheck.type      none
