source: trunk/dports/science/fasthenry-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.8 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                fasthenry-wr
7version             3.0wr-010114
8epoch               1
9
10categories          science electronics
11platforms           darwin
12maintainers         nomaintainer
13license             LGPL
14
15description         A multipole-accelerated inductance analysis program
16long_description    A multipole-accelerated inductance analysis program. This version of fasthenry has been modified by Whiteley Research to support superconducting segments and ground planes.
17
18homepage            http://www.wrcad.com/freestuff.html
19distname            fasthenry-${version}
20worksrcdir          fasthenry-3.0wr
21
22master_sites        ftp://ftp.srware.com/pub/ \
23                    http://www.wrcad.com/ftp/pub/
24
25checksums           rmd160  c8ac3bb2b0a51cd30d16d901aca606f490e40e71 \
26                    sha256  d09778ca396bbd5582766ca57f8ce628fb1064fa0084534b453960038d54b9ac
27
28use_configure       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 fasthenry zbuf ${destroot}${prefix}/bin
38    set docdir ${prefix}/share/doc/fasthenry-wr
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 0644 -W ${worksrcpath}/doc manual_001.ps manual_002.ps manual_003.ps ms_thesis.ps nonuniform_manual_1.ps nonuniform_manual_2.ps README ${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.