# $Id: Portfile,v 1.4 2005/12/12 20:04:46 toby Exp $ PortSystem 1.0 name calc version 2.11.11 categories math maintainers toby@opendarwin.org 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. homepage http://www.isthe.com/chongo/tech/comp/calc/ platforms darwin master_sites sourceforge checksums sha1 43118ddd9318fed3c7ca885f61337dd695ad39ee patchfiles patch-Makefile post-patch { reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile } configure {} test.run yes test.target check destroot.destdir