# -*- 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        kfix ddcctl 1 v
github.tarball_from archive
revision            0

description         DDC monitor controls (brightness) for Mac OSX command line

long_description    {*}${description}. Adjust your external monitors' \
                    built-in controls from the OSX shel

categories          sysutils
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  831783b4b678f7f0a0275890979af6b71efd0c6f \
                    sha256  1b6eddd0bc20594d55d58832f2d2419ee899e74ffc79c389dcdac55617aebb90 \
                    size    32153

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/bin/release/${name} \
        ${destroot}${prefix}/bin/
}

use_xcode           yes