PortSystem          1.0

name                xgamma
version             1.0.6
categories          x11
license             X11
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         Monitor gamma utility for X11
long_description    xgamma allows X users to query and alter the gamma correction of a monitor via the X video mode extension (XFree86-VidModeExtension).

platforms           darwin

homepage            https://www.x.org/
master_sites        xorg:individual/app/
use_bzip2           yes

checksums           rmd160  2223d444aff6faa15c94b44d0e5bbadd1f7aed15 \
                    sha256  0ef1c35b5c18b1b22317f455c8df13c0a471a8efad63c89c98ae3ce8c2b222d3

depends_build       port:pkgconfig

depends_lib         port:xorg-libXxf86vm

livecheck.type      regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       https://xorg.freedesktop.org/archive/individual/app/?C=M&O=D