# $Id: Portfile 118627 2014-04-06 10:41:55Z jeremyhu@macports.org $

PortSystem          1.0

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

platforms           darwin

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

checksums           md5     0066f23f69ca3ef62dcaeb74a87fdc48 \
                    sha1    861c2ce6a9ff44e93dece8c69508af9d826c032a \
                    rmd160  60104d1d6cdff691f2db48c1b21dced064c113d5

depends_build       port:pkgconfig

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

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