# $Id: Portfile 80076 2011-07-03 23:46:28Z jmr@macports.org $

PortSystem          1.0

name                xbacklight
version             1.1.2
categories          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     c9891d6a3f3129d56cede72daa0ba26c \
                    sha1    e297b359ab83f3844ca5ea1c23280b2f8bb71cfd \
                    rmd160  af2502cd91b7169517009c5036ff43de1d738fc4

depends_build       port:pkgconfig

depends_lib         port:xorg-libXrandr

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