# -*- 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        qalculate qalculate-gtk 4.8.0 v
github.tarball_from releases
revision            0

categories          math
platforms           darwin
license             GPL-2+
maintainers         {gmail.com:jjstickel @jjstickel} \
                    {judaew @judaew} \
                    openmaintainer

description         Qalculate! is a multi-purpose desktop calculator
long_description    Qalculate! is a multi-purpose desktop calculator. \
                    It is small and simple to use but with much \
                    power and versatility underneath. Features include \
                    customizable functions, units, arbitrary precision, \
                    plotting, and a user-friendly interface.

checksums           rmd160  37ffe3270db440f65c382fde49f6d1bf1218b0c7 \
                    sha256  5d8ef3e5e613f000177172f220243f88c83afcfaa19ef0465d5c723f4859bd26 \
                    size    2811851

# autoreconf to reconfigure for intltool
use_autoreconf      yes
autoreconf.args     -fvi

depends_build-append \
                    port:intltool \
                    port:pkgconfig

depends_lib-append \
                    port:libqalculate \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3

notes-append "Graphical plotting is enabled by installing gnuplot.\n"
