# -*- 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           codeberg 1.0
PortGroup           makefile 1.0

codeberg.setup      midnightrocket pbhush 1.0.0 v
revision            0

categories          sysutils
maintainers         {@midnightrocket} \
                    openmaintainer

platforms           {darwin >= 26}

description         pbhush is an alternative to pbcopy which marks the copied content as secret.
long_description    {*}${description} \nThis is a small cli utility which copies text from STDIN to the clipboard, \
                    whilst marking the content as secret. This means conforming clipboard managers, \
                    knows that they should not save the content in their history. \
                    This includes the new clipboard history feature in MacOS Tahoe.

license             MIT

checksums           rmd160  98e96e9d6f58337bd31845842dcca456ae0dab78 \
                    sha256  3ad85acebdd9ea629f323a749586e6e08a304d3a5baf3653ea739ae19b438849 \
                    size    10867

use_configure       no
use_xcode           yes

build.env           VERSION=${version} \
                    ARGS=--disable-sandbox

destroot.env        SKIP_BUILD=1
