source: trunk/dports/science/fastcap-wr/Portfile

Last change on this file was 126827, checked in by mf2k@…, 3 years ago

fastcap-wr fasthenry-wr: nomaintainer.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 126827 2014-10-16 01:35:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                fastcap-wr
7version             2.0wr-010114
8
9categories          science electronics
10platforms           darwin
11maintainers         nomaintainer
12license             LGPL
13
14description         A multipole-accelerated capacitance analysis program
15long_description    A multipole-accelerated capacitance analysis program. This version of fastcap has been modified by Whiteley Research.
16
17homepage            http://www.wrcad.com/freestuff.html
18distname            fastcap-${version}
19worksrcdir          fastcap-2.0wr
20
21master_sites        ftp://ftp.srware.com/pub/ \
22                    http://www.wrcad.com/ftp/pub/
23
24checksums           rmd160  c5ad603a748765ec9028a6dc08433ebb9ae0035c \
25                    sha256  f48310ad11845135270c363d0124a325f41474116c2721d498f9a88827751f57
26
27use_configure       no
28use_parallel_build  no
29
30build.args-append   CC=${configure.cc} \
31                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
32                    CXX=${configure.cxx} \
33                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
34                    CPP=${configure.cpp}
35
36destroot {
37    xinstall -m 755 -W ${worksrcpath}/bin busgen capgen cubegen fastcap pipedgen pyragen ${destroot}${prefix}/bin
38    set docdir ${prefix}/share/doc/fastcap-wr
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 0644 -W ${worksrcpath}/doc ug.ps tcad.ps mtt.ps FastCapsuppl.pdf fastcap_paper.pdf ${destroot}${docdir}
41    xinstall -m 0644 -W ${worksrcpath} README ${destroot}${docdir}/README.wr
42    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/
43}
Note: See TracBrowser for help on using the repository browser.