# -*- 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.2
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  137668cfd098f4ba56f78f6a2cb2ea4ccf2a95ac \
                sha256  e98a211e51d8b9381d16b24a57cecb926a23e743b9e0b1ffc3e870206b7dee1a \
                size    402517

depends_build   path:bin/pkg-config: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
