# $Id$ PortSystem 1.0 name calc version 2.12.5.0 revision 1 categories math license LGPL-2.1 maintainers nomaintainer description Arbitrary precision calculator long_description \ Calc is an interactive calculator which provides for easy large numeric \ calculations, but which also can be easily programmed for difficult or \ long calculations. It can accept a command line argument, in which case \ it executes that single command and exits. Otherwise, it enters \ interactive mode. There are a great number of pre-defined functions. The \ calculator can calculate transcendental functions, and accept and display \ numbers in real or exponential format. The calculator also knows about \ complex numbers. platforms darwin homepage http://www.isthe.com/chongo/tech/comp/calc/ master_sites sourceforge:project/calc/calc/${version} use_bzip2 yes checksums rmd160 d291d3a0bb9c91b92016c41b4abcdf3cfeccac07 \ sha256 a0e7b47af38330f188970998c8e5039134dadf6f2e3f2c00d7efdae272a4338d depends_lib port:readline port:ncurses patchfiles patch-Makefile.diff post-patch { reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile reinplace "s|___CC___|${configure.cc}|" ${worksrcpath}/Makefile } use_configure no use_parallel_build no variant universal {} build.args-append CC=${configure.cc} test.run yes test.target check destroot.destdir