# -*- 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           github 1.0

github.setup        thentenaar motif 2.5.2 v
github.tarball_from archive
revision            0

categories          x11
license             LGPL-2.1
maintainers         {hentenaar.com:tim @thentenaar} openmaintainer
description         The Motif toolkit for X11

long_description    This is Motif, the legendary user interface toolkit \
                    Originally provided by The Open Group and other vendors, \
                    it lives on as an independent project.

checksums           rmd160  6292e071449c33be3f6af9db7784639b2bc5a30d \
                    sha256  6698f72e2018eaebb810c8a47345fc8a40a3f945551380ce88a0da6c434a010a \
                    size    8778216
patchfiles          locale.diff drawline.diff

use_autoconf        yes
autoconf.cmd        autoreconf -fi
configure.args      --disable-tests --disable-demos

depends_build       port:autoconf \
                    port:automake \
                    port:byacc \
                    port:flex \
                    port:libtool \
                    path:bin/pkg-config:pkgconfig \
                    port:xbitmaps

depends_lib         port:freetype \
                    port:fontconfig \
                    port:libiconv \
                    path:include/turbojpeg.h:libjpeg-turbo \
                    port:libpng \
                    port:Xft2 \
                    port:xorg-libice \
                    port:xorg-libsm \
                    port:xorg-libX11 \
                    port:xorg-libXcursor \
                    port:xorg-libXext \
                    port:xorg-libXmu \
                    port:xorg-libXrandr \
                    port:xorg-libXt \
                    port:xpm \
                    port:xrender

