# -*- 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                xwd
version             1.0.8
revision            0
categories          x11 graphics
license             X11
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         Dump an image of an X11 window
long_description    {*}${description}

platforms           darwin

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

checksums           rmd160  2b885e4b112a36bac47e9e10b9d50a5a31ced534 \
                    sha256  fbaa2b34163714fe7be22b60920ea4683f63b355babb1781aec2e452a033031b \
                    size    151153

depends_build       port:pkgconfig

depends_lib         port:xorg-libX11 \
                    port:xorg-libxkbfile

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