# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description Build files for discontinued imake build system.
long_description ${description}
homepage https://xorg.freedesktop.org/wiki/
master_sites xorg:individual/util/
checksums rmd160 544d19c017066cbab2c7108ecf702c4866144755 \
sha256 4dcf5a9dbe3c6ecb9d2dd05e629b3d373eae9ba12d13942df87107fdc1b3934d \
patchfiles empty-char-constant.patch \
allow-overriding-darwin-compiler.patch
#ensure that configuration files are found
reinplace "s|#define ConfigDir \$(LIBDIR)/config|#define ConfigDir ${prefix}/lib/X11/config|" ${worksrcpath}/X11.tmpl
reinplace "s|#define XAppLoadDir \$(LIBDIR)/app-defaults|#define XAppLoadDir ${prefix}/share/X11/app-defaults|" ${worksrcpath}/X11.tmpl
livecheck.url "https://xorg.freedesktop.org/archive/individual/util/?C=M;O=D"
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)