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

github.setup        rakalex mac-brightnessctl 0.2.1
revision            0
categories          sysutils
maintainers         {breun @breun} openmaintainer
license             MIT

description mac-brightnessctl is a command line tool for controlling the keyboard backlight brightness on macOS.
long_description {*}${description}

github.tarball_from archive

checksums    rmd160  e26e2fb15a4c16689ebf5cdabf2ee8025144259c \
             sha256  b9445cca0e24c5f42c85e975ea124164edadf460421263d63ee06c6f68507aa7 \
             size    5295

destroot {
    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
}
