# -*- 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-libXrandr
version         1.5.4
revision        0
categories      x11 devel
license         X11
maintainers     {jeremyhu @jeremyhu} openmaintainer
description     X.org libXrandr
homepage        https://www.x.org
platforms       darwin macosx
long_description    X Resize and Rotate Extension C Library
master_sites    xorg:individual/lib/

distname        libXrandr-${version}

checksums       rmd160  214ad92bee1954cd39c74919158e99a9d78bb67b \
                sha256  1ad5b065375f4a85915aa60611cc6407c060492a214d7f9daf214be752c3b4d3 \
                size    282928

use_xz          yes
use_parallel_build      yes

depends_build   port:pkgconfig

depends_lib     port:xorg-libX11 \
                port:xorg-libXext \
                port:xrender \
                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 libXrandr-(\\d+(?:\\.\\d+)*)
