# -*- 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 # $Id$ PortSystem 1.0 name xorg-cf-files version 1.0.4 revision 2 categories x11 devel license X11 platforms darwin maintainers mcalhoun openmaintainer supported_archs noarch description Build files for discontinued imake build system. long_description ${description} homepage http://xorg.freedesktop.org master_sites \ xorg:individual/util/ use_bzip2 yes checksums md5 700c6d040d36a569e657a3ba5e1d8b24 \ sha1 c58b7252df481572ec1ccd77b9f1ab561ed89e45 \ rmd160 975942e8974812aae91c45d81eb27522e5aa0a5d 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 "http://xorg.freedesktop.org/archive/individual/util/?C=M;O=D" livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)