# -*- 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         Clipboard 0.32 ../../authors/id/S/SH/SHLOMIF
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Clipboard - Copy and paste with any OS
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  70cb4df33c589806a508618a8521ea0c4a491ecd \
                    sha256  95e234cde474cd62ee762f45f8c9d8297436c61ac53bc6af7a73c257358c4bd0 \
                    size    26209

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-cgi \
                    port:p${perl5.major}-mac-pasteboard \
                    port:p${perl5.major}-uri \
                    port:xclip \
                    port:xsel

    patchfiles      patch-use-macos-default-browser.diff

    perl5.use_module_build
}
