# -*- 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                fox
version             1.6.59
revision            0

maintainers         nomaintainer
categories          x11
platforms           darwin
license             LGPL-2.1+

description         The FOX GUI toolkit
long_description    FOX is a C++ based Toolkit for developing Graphical User \
                    Interfaces easily and effectively.

homepage            http://www.fox-toolkit.org
master_sites        ${homepage}/ftp

checksums           rmd160  48ec1ea5423ce87223c367333f59a92590a491e9 \
                    sha256  48f33d2dd5371c2d48f6518297f0ef5bbf3fcd37719e99f815dc6fc6e0f928ae

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         port:freetype \
                    path:include/turbojpeg.h:libjpeg-turbo \
                    port:libGLU \
                    port:libpng \
                    port:mesa \
                    port:tiff \
                    port:Xft2 \
                    port:xorg-libXcursor \
                    port:xorg-libXrandr

patchfiles          dynamic_lookup-11.patch

configure.args      --with-x \
                    --with-xft \
                    --with-opengl

configure.cppflags-append \
                    -I${prefix}/include/freetype2

livecheck.type      regex
livecheck.url       ${homepage}/download.html
livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}.*STABLE
