Source
xxxxxxxxxx
# -*- 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 libqalculate 3.3.0 v
revision 1
categories math
platforms darwin
maintainers {gmail.com:jjstickel @jjstickel}
license GPL-2+
description \
libqalculate is math libary for expression evaluation \
with units, variables and functions support and CAS \
functionality.
long_description \
libqalculate is math libary for expression evaluation \
with units, variables and functions support and CAS \
functionality. This library directly supports the \
GUI interface qalculate-gtk or qalculate-kde.
github.tarball_from releases
checksums rmd160 fc8bf2544205b803803a3acdc19192e92439a146 \
sha256 708f1d461a7856fb94b12c400d6b07b001bbe853d7ac4aa8df43a8fe2a1c8547 \
size 2051942
# autoreconf to reconfigure for intltool; use package's autogen script to avoid
# conflict with gettext
use_autoreconf yes
autoreconf.cmd ./autogen.sh
autoreconf.env NOCONFIGURE=1
depends_build-append \
port:intltool \
port:autoconf \
port:automake \
port:libtool \
port:pkgconfig \
port:doxygen
depends_lib-append \
port:gmp \
port:mpfr \
port:libxml2 \
port:curl \
port:icu \
port:gettext \
port:readline \
port:libiconv
# required for ICU
compiler.cxx_standard 2011
configure.cxxflags-append -std=c++11
patch {
reinplace "s|libtoolize|glibtoolize|g" ${worksrcpath}/autogen.sh
}
notes-append "Graphical plotting is enabled by installing gnuplot.\n"