# $Id: Portfile 68505 2010-06-05 05:17:22Z jeremyhu@macports.org $

PortSystem          1.0
name                xlsclients
version             1.1.0
categories          x11
maintainers         jeremyhu openmaintainer
description         List client applications running on an X11 display
long_description    ${description}

platforms           darwin

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

checksums           md5     550a0fee047c5043f2cbf190b41f8a1b \
                    sha1    1961ee982f98d270c9069eaf84790c6b9dcdc851 \
                    rmd160  ef0cb54ed84e77ea6013235582f65fcdf288f97d

depends_build       port:pkgconfig

depends_lib         port:xorg-libxcb

# Remove for 1.1.1 or later
post-patch {
	file copy ${filespath}/strnlen.h ${worksrcpath}
}

livecheck.type      regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}

