# -*- 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 PortSystem 1.0 name xorg-cf-files version 1.0.8 categories x11 devel license X11 platforms any maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer supported_archs noarch installs_libs no description Build files for discontinued imake build system. long_description {*}${description} homepage https://xorg.freedesktop.org/wiki/ master_sites xorg:individual/util/ use_xz yes checksums rmd160 9571b3a662c914da410c5bdab8598fe7c047effa \ sha256 7408955defcfab0f44d1bedd4ec0c20db61914917ad17bfc1f1c9bf56acc17b9 \ size 290280 patchfiles empty-char-constant.patch \ allow-overriding-darwin-compiler.patch post-configure { #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.type regex livecheck.url "https://xorg.freedesktop.org/archive/individual/util/?C=M;O=D" livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)