# -*- 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-libXpresent
version         1.0.1
revision        0
categories      x11 devel
license         X11
maintainers     {jeremyhu @jeremyhu} openmaintainer
description     X.org libXpresent
homepage        https://www.x.org
platforms       darwin macosx
long_description \
                Xlib-compatible API for the Present extension
master_sites    xorg:individual/lib/

distname        libXpresent-${version}
checksums       rmd160  77a8a15e9517987d6b92a4e4dc87e92e6b7640d9 \
                sha256  8ebf8567a8f6afe5a64275a2ecfd4c84e957970c27299d964350f60be9f3541d \
                size    386385

depends_build   port:pkgconfig \
                port:xorg-util-macros

depends_lib     port:xorg-libX11 \
                port:xorg-libXfixes \
                port:xorg-libXext \
                port:xorg-libXrandr \
                port:xorg-xorgproto

use_autoreconf  yes
autoreconf.args -fvi

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