[115711] trunk/dports/science/fastcap-wr/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Jan 9 10:17:04 PST 2014
Revision: 115711
https://trac.macports.org/changeset/115711
Author: macsforever2000 at macports.org
Date: 2014-01-09 10:17:04 -0800 (Thu, 09 Jan 2014)
Log Message:
-----------
fastcap-wr: Update to version 2.0wr-010114. Now builds properly with clang.
Modified Paths:
--------------
trunk/dports/science/fastcap-wr/Portfile
Modified: trunk/dports/science/fastcap-wr/Portfile
===================================================================
--- trunk/dports/science/fastcap-wr/Portfile 2014-01-09 16:29:10 UTC (rev 115710)
+++ trunk/dports/science/fastcap-wr/Portfile 2014-01-09 18:17:04 UTC (rev 115711)
@@ -4,8 +4,7 @@
PortSystem 1.0
name fastcap-wr
-version 2.0
-revision 1
+version 2.0wr-010114
categories science electronics
platforms darwin
@@ -16,24 +15,18 @@
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
+distname fastcap-${version}
+worksrcdir fastcap-2.0wr
master_sites ftp://ftp.srware.com/pub/ \
http://www.wrcad.com/ftp/pub/
-checksums rmd160 2bea82d0eae27924242e7f9c70f4ebbc20d99492 \
- sha256 fc6e1734438771de6558ffc1e48e20db438b571bc3a67af92c45d175ec4c46c3
+checksums rmd160 c5ad603a748765ec9028a6dc08433ebb9ae0035c \
+ sha256 f48310ad11845135270c363d0124a325f41474116c2721d498f9a88827751f57
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} \
@@ -44,7 +37,7 @@
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}/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}/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140109/5be9e1b3/attachment.html>
More information about the macports-changes
mailing list