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

distname        libXinerama-${version}

checksums       rmd160  0e00f656024571e3f8eb7c1521ab079279792fd2 \
                sha256  5094d1f0fcc1828cb1696d0d39d9e866ae32520c54d01f618f1a3c1e30c2085c \
                size    260272

use_xz          yes
use_parallel_build      yes

depends_build   port:pkgconfig

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