# $Id: Portfile,v 1.4 2005/04/21 15:57:53 jberry Exp $ PortSystem 1.0 name pdc version 0.9 categories math platforms darwin maintainers mww@opendarwin.org description programmers desktop caclulator in bc style long_description PDC is a desktop caclulator in the bc style with \ features designed for programmers. It does not support \ floating point maths but does provide all the C \ operators (logical, bitwise, shifts etc.) and \ implements ISO C operator precedence. Additionally \ functions are available to perform population counts \ and byte swaps. homepage http://www.redfelineninja.dsl.pipex.com/software/all.html#pdc master_sites http://www.redfelineninja.dsl.pipex.com/software/ checksums md5 03dadb29fd517a2b23e2cb3018cf5753 depends_lib port:readline use_configure no build.env CFLAGS=-I${prefix}/include \ LDFLAGS="-L${prefix}/lib -flat_namespace" destroot { xinstall -s -m 755 ${worksrcpath}/pdc ${destroot}${prefix}/bin/ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} ChangeLog COPYING README \ ${destroot}${prefix}/share/doc/${name} }