# -*- 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 bc version 1.07.1 revision 3 categories math maintainers nomaintainer license GPL-3+ description arbitrary precision numeric processing language long_description bc is an arbitrary precision numeric processing language. \ Syntax is similar to C, but differs in many substantial \ areas. It supports interactive execution of statements. \ bc is a utility included in the POSIX P1003.2/D11 draft \ standard. homepage https://www.gnu.org/software/bc/ master_sites gnu:bc checksums rmd160 b9f7875059704a52e093830e42800c469b5a6bd6 \ sha256 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a \ size 419850 installs_libs no # Patch to ensure libedit globals are declared, rather than defined, via global.h. # Otherwise, link errors occur, due to duplicate definitions of those symbols (like '_edit'). # See: https://trac.macports.org/ticket/67486 patchfiles-append patch-libedit-globals.diff depends_build-append \ port:texinfo depends_lib-append \ port:flex variant libedit conflicts readline description {use libedit for command input editing} { depends_lib-append port:libedit configure.args-append --with-libedit } variant readline conflicts libedit description {use GNU readline for command input editing} { depends_lib-append port:readline configure.args-append --with-readline } if {![variant_isset libedit] && ![variant_isset readline]} { default_variants +libedit }