# -*- 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 PortGroup compiler_blacklist_versions 1.0 name xorg-libX11 version 1.8.8 revision 0 checksums rmd160 43c2758e835552ef480a007afaa7d94200e02b0d \ sha256 46afaebb2dd1a3a7348c0544a4b1c88c51de4bda885fde57d2cf98427ee5cbf6 \ size 1872808 categories x11 devel license X11 maintainers {jeremyhu @jeremyhu} openmaintainer description X.org libX11 homepage https://www.x.org platforms darwin macosx long_description libX11 is the main library used by X Window System applications to communicate with the X server. master_sites xorg:individual/lib/ distname libX11-${version} # move pragmas outside functions to keep old gcc compilers happy patchfiles patch-xorg-libX11-pragmas-inside-functions.diff use_xz yes use_parallel_build yes depends_build port:pkgconfig \ port:xorg-xtrans \ port:xorg-xorgproto \ port:xorg-util-macros depends_lib port:xorg-libXdmcp \ port:xorg-libXau \ port:xorg-libxcb \ port:xorg-xorgproto configure.checks.implicit_function_declaration.whitelist-append strchr configure.env-append RAWCPP=${configure.cpp} configure.args \ --without-xmlto \ --without-fop \ --disable-specs \ --disable-silent-rules \ --disable-selective-werror # Depending on ghostscript for the PDF documentation creates a dependency # loop, so you may want to install first without the docs variant variant docs description "Install extra documentation" { depends_build-append \ port:xmlto \ port:fop \ port:xorg-sgml-doctools depends_skip_archcheck-append \ xmlto configure.args-delete \ --without-xmlto \ --without-fop \ --disable-specs configure.args-append \ --with-xmlto \ --with-fop \ --enable-specs configure.env-append \ FOP=${prefix}/bin/fop \ XMLTO=${prefix}/bin/xmlto } livecheck.type regex livecheck.url https://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D livecheck.regex libX11-(\\d+(?:\\.\\d+)*)