# -*- 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-libXt version 1.3.1 revision 0 checksums rmd160 599116a6609ec468d8051db77930f39cae14f813 \ sha256 e0a774b33324f4d4c05b199ea45050f87206586d81655f8bef4dba434d931288 \ size 691200 categories x11 devel license X11 maintainers {jeremyhu @jeremyhu} openmaintainer description X.org libXt homepage https://www.x.org platforms darwin macosx long_description X Toolkit Intrinsics, an abstract widget library upon \ which other toolkits are based. Xt is the basis for many toolkits, \ including the Athena widgets, Xaw, and LessTif, a Motif \ implementation. master_sites xorg:individual/lib/ distname libXt-${version} use_xz yes # this port repeatedly fails to build parallel on Tiger platform darwin 8 { use_parallel_build no } depends_build-append \ path:bin/pkg-config:pkgconfig \ port:xorg-util-macros depends_lib-append \ port:xorg-libsm \ port:xorg-libX11 configure.env-append RAWCPP=${configure.cpp} # Source has a typo in this header, so it fails to compile: # ../include/X11/Xtos.h:67:27: error: missing '(' in expression # Also it misses a macro for ppc64, fix that as well. patchfiles-append \ patch-fix-Xtos.h.diff use_autoreconf yes autoreconf.args -fvi configure.args-append \ --without-xmlto \ --without-fop variant docs description "Install extra documentation" { depends_build-append \ port:xmlto \ port:fop depends_skip_archcheck-append \ xmlto configure.args-replace \ --without-xmlto --with-xmlto \ --without-fop --with-fop configure.env-append \ FOP=${prefix}/bin/fop \ XMLTO=${prefix}/bin/xmlto } default_variants-append \ +docs livecheck.type regex livecheck.url https://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D livecheck.regex libXt-(\\d+(?:\\.\\d+)*)