mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
43 lines
1.7 KiB
Tcl
43 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name fastcap-wr
|
|
version 2.0wr-010114
|
|
|
|
categories science electronics
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
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}
|
|
worksrcdir fastcap-2.0wr
|
|
|
|
master_sites ftp://ftp.srware.com/pub/ \
|
|
http://www.wrcad.com/ftp/pub/
|
|
|
|
checksums rmd160 c5ad603a748765ec9028a6dc08433ebb9ae0035c \
|
|
sha256 f48310ad11845135270c363d0124a325f41474116c2721d498f9a88827751f57
|
|
|
|
use_configure no
|
|
use_parallel_build no
|
|
|
|
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 fastcap_paper.pdf ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README ${destroot}${docdir}/README.wr
|
|
file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/
|
|
}
|