# -*- 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                xlsclients
version             1.1.5
categories          x11
license             X11
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         List client applications running on an X11 display
long_description    ${description}

platforms           darwin

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

checksums           rmd160  ae78c25834cecb7f93e1adeda71342d716ae523e \
                    sha256  68baee57e70250ac4a7759fb78221831f97d88bc8e51dcc2e64eb3f8ca56bae3 \
                    size    125552

depends_build       port:pkgconfig

depends_lib         port:xorg-libxcb port:xorg-xcb-util

configure.args-append --disable-silent-rules

configure.checks.implicit_function_declaration.whitelist-append strchr

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