[41264] trunk/dports/science/fastcap-wr/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Wed Oct 29 08:44:07 PDT 2008


Revision: 41264
          http://trac.macports.org/changeset/41264
Author:   macsforever2000 at macports.org
Date:     2008-10-29 08:44:07 -0700 (Wed, 29 Oct 2008)
Log Message:
-----------
Switch to using distname. Simplify binaries install. Fixes by ryandesign.

Modified Paths:
--------------
    trunk/dports/science/fastcap-wr/Portfile

Modified: trunk/dports/science/fastcap-wr/Portfile
===================================================================
--- trunk/dports/science/fastcap-wr/Portfile	2008-10-29 15:36:01 UTC (rev 41263)
+++ trunk/dports/science/fastcap-wr/Portfile	2008-10-29 15:44:07 UTC (rev 41264)
@@ -14,8 +14,7 @@
 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
-distfiles        fastcap-${version}wr
-worksrcdir       fastcap-${version}wr
+distname         fastcap-${version}wr
 master_sites     ftp://ftp.srware.com/pub/	\
                  http://www.wrcad.com/ftp/pub/
 
@@ -26,12 +25,7 @@
 use_configure    no
 
 destroot {
-    xinstall -m 755 ${worksrcpath}/bin/busgen ${destroot}${prefix}/bin
-    xinstall -m 755 ${worksrcpath}/bin/capgen ${destroot}${prefix}/bin
-    xinstall -m 755 ${worksrcpath}/bin/cubegen ${destroot}${prefix}/bin
-    xinstall -m 755 ${worksrcpath}/bin/fastcap ${destroot}${prefix}/bin
-    xinstall -m 755 ${worksrcpath}/bin/pipedgen ${destroot}${prefix}/bin
-    xinstall -m 755 ${worksrcpath}/bin/pyragen ${destroot}${prefix}/bin
+    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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081029/8dbedf97/attachment.html>


More information about the macports-changes mailing list