Hi Ivan -- On 06/25/18 01:51, Ivan "Rambius" Ivanov wrote:
Hello ports,Attached is a new port for gnu bc: pkg/DESCR: 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/ I added --program-prefix="g" in CONFIGURE_ARGS to prevent conflicts with /usr/bin/bc and /usr/bin/gc. I tested the port on i386. OK? Regards rambius
Thanks for the submission! I'm happy to have this in ports. I've made some tweaks to put this more in line with what we do with ports of other GNU versions of utilities (like gmake, gtar, gdiff, etc.): change the port directory and PKGNAME gbc and tweak the COMMENT and DESCR a little. I also added --with-libedit to CONFIGURE_ARGS, because the line editing is nice to have I think (and /usr/bin/bc has it). Tarball with these tweaks attached. ~Brian
gbc.tgz
Description: Binary data