# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name fastcap-wr version 2.0 revision 1 categories science electronics platforms darwin maintainers macsforever2000 openmaintainer license LGPL description A multipole-accelerated capacitance analysis program long_description A multipole-accelerated capacitance analysis program. This version of fastcap has been modified by Whiteley Research. homepage http://www.wrcad.com/freestuff.html distname fastcap-${version}wr-011109 worksrcdir fastcap-${version}wr master_sites ftp://ftp.srware.com/pub/ \ http://www.wrcad.com/ftp/pub/ checksums rmd160 2bea82d0eae27924242e7f9c70f4ebbc20d99492 \ sha256 fc6e1734438771de6558ffc1e48e20db438b571bc3a67af92c45d175ec4c46c3 use_configure no use_parallel_build no # error: non-void function 'getnbrs' should return a value [-Wreturn-type] # TODO: Actually fix the bug. Don't just mask the issue if {[string match *clang* ${configure.compiler}]} { configure.cflags-append -Wno-return-type } build.args-append CC=${configure.cc} \ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ CXX=${configure.cxx} \ CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ CPP=${configure.cpp} destroot { xinstall -m 755 -W ${worksrcpath}/bin busgen capgen cubegen fastcap pipedgen pyragen ${destroot}${prefix}/bin set docdir ${prefix}/share/doc/fastcap-wr xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath}/doc ug.ps tcad.ps mtt.ps FastCapsuppl.pdf ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README ${destroot}${docdir}/README.wr file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/ }