# -*- 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                XawM
version             1.5u
revision            2
categories          x11
platforms           darwin
maintainers         nomaintainer
license             GPL-2+

description         This is Ed Falk's XawM (M for Modern).

long_description    This is Ed Falk's XawM (M for Modern), hacked for use \
                    with Siag Officeand adapted for autoconf and libtool. \
                    This release is called 1.5u, 1.5 because it is based on \
                    Xaw3d 1.5, and u because Ulric messed with it.

homepage            http://siag.nu
master_sites        ${homepage}/pub/widgets/

checksums           md5     a81372046d0a7ebeb8c3d90e75d58828 \
                    rmd160  1dfa76c7818a01df53e1e7eb5c28339605fd3056 \
                    sha256  1a7b40d989a3bcdcaa0be0a60636348c51fc7ccb0f628f10419fe14c0f15ab1f \
                    size    516832

depends_build       port:xorg-libX11 \
                    port:xorg-libXext \
                    port:xorg-libXmu \
                    port:xorg-libXt \
                    port:xorg-xorgproto

patchfiles          implicit.patch

# Regenerate the ancient configure script so that it understands that CC can
# contain multiple words (e.g. "ccache /usr/bin/clang"), so that it passes
# "-arch" flags to the linker, and so that it doesn't pass "-syslibroot"
# (which is in MacPorts LDFLAGS when using an SDK like on Mojave and later)
# to the compiler, since the compiler doesn't understand it.
use_autoreconf      yes
