source: trunk/dports/science/fasthenry-wr/Portfile @ 110417

Last change on this file since 110417 was 110417, checked in by macsforever2000@…, 6 years ago

fasthenry-wr: Update to version 3.0wr-021113. Blacklist all clangs since building with clang still fails even with cflags -std=gnu99.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 110417 2013-08-30 23:40:30Z macsforever2000@macports.org $
3
4PortSystem          1.0
5
6name                fasthenry-wr
7version             3.0wr-021113
8
9categories          science electronics
10platforms           darwin
11maintainers         macsforever2000 openmaintainer
12license             LGPL
13
14description         A multipole-accelerated inductance analysis program
15long_description    A multipole-accelerated inductance analysis program. This version of fasthenry has been modified by Whiteley Research to support superconducting segments and ground planes.
16
17homepage            http://www.wrcad.com/freestuff.html
18distname            fasthenry-${version}
19worksrcdir          fasthenry-3.0wr
20
21master_sites        ftp://ftp.srware.com/pub/ \
22                    http://www.wrcad.com/ftp/pub/
23
24checksums           rmd160  1afde11b23dfac09c82d52a0146f548f7a3dc45e \
25                    sha256  878b03d0e7b0f3632dd7fbf23e2c63933f3039e95fabbe3419842251a0784dae
26
27use_configure       no
28
29# https://trac.macports.org/ticket/33915
30compiler.blacklist  *clang*
31
32build.args-append   CC=${configure.cc} \
33                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
34                    CXX=${configure.cxx} \
35                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
36                    CPP=${configure.cpp}
37
38destroot {
39    xinstall -m 755 -W ${worksrcpath}/bin fasthenry zbuf ${destroot}${prefix}/bin
40    set docdir ${prefix}/share/doc/fasthenry-wr
41    xinstall -d ${destroot}${docdir}
42    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}
43    xinstall -m 0644 -W ${worksrcpath} README ${destroot}${docdir}/README.wr
44    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/
45}
Note: See TracBrowser for help on using the repository browser.