# -*- 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

name                xbacklight
version             1.2.3
revision            0
categories          x11
license             X11
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         Control an LCD backlight through RandR
long_description    ${description}

platforms           darwin

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

checksums           rmd160  e3200e27aae7283d0cb47ebfc2c41a614216c346 \
                    sha256  3a27f324777ae99fee476cfb2f064576fb8cba4eb77f97cda37adda1c1d39ade \
                    size    124611

depends_build       port:pkgconfig

depends_lib         port:xorg-libXrandr \
                    port:xorg-xcb-util

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