# $Id$ PortSystem 1.0 name calc version 2.12.4.3 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 a0bd19a6e2c0432c65262a826e933a0ae9d664f3 \ sha256 a4e7d8a9313e7d28653e2c372fca9b0defdc02f965b833bb43479bbdfee51a92 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 reinplace "s|___MACOSX_DEPLOYMENT_TARGET___|${macosx_deployment_target}|" \ ${worksrcpath}/Makefile } use_configure no use_parallel_build no test.run yes test.target check destroot.destdir