# -*- 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            xorg-libXdamage
version         1.1.6
revision        0
categories      x11 devel
license         X11
maintainers     {jeremyhu @jeremyhu} openmaintainer
description     X.org libXdamage
homepage        https://www.x.org
platforms       darwin macosx
long_description    Damage extension
master_sites    xorg:individual/lib/

distname        libXdamage-${version}

checksums       rmd160  8ae5018393827765ec238dd54869c4bfd3cca162 \
                sha256  52733c1f5262fca35f64e7d5060c6fcd81a880ba8e1e65c9621cf0727afb5d11 \
                size    257532

use_xz          yes

use_parallel_build  yes

depends_build   port:pkgconfig \
                port:xorg-xorgproto

depends_lib     port:xorg-libXfixes \
                port:xorg-xorgproto

configure.checks.implicit_function_declaration.whitelist-append strchr

livecheck.type  regex
livecheck.url   https://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D
livecheck.regex libXdamage-(\\d+(?:\\.\\d+)*)
