# -*- 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           cmake 1.1
PortGroup           compilers 1.0
PortGroup           github 1.0

github.setup        vmagnin gtk-fortran 3.24.41 v
revision            0
categories          fortran devel graphics
license             GPL-3
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         GTK / Fortran binding
long_description    The ${name} project aims to offer scientists \
                    programming in Fortran a cross-platform library \
                    to build Graphical User Interfaces (GUI).
checksums           rmd160  87b17d533022685fcec99a44d1a3233f84011ecc \
                    sha256  847c21b89de674bfd34dd25bbd31bdb6b342977e206d640bcb56bed67c5e801d \
                    size    4311878
github.tarball_from archive

depends_build-append \
                    path:bin/pkg-config:pkgconfig
depends_lib-append  port:atk \
                    path:lib/pkgconfig/cairo.pc:cairo \
                    path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
                    port:gettext-runtime \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    path:lib/pkgconfig/pango.pc:pango

compilers.setup     require_fortran
compiler.blacklist-append \
                    {*gcc-[34].*}

configure.args-append \
                    -DEXCLUDE_PLPLOT=ON
