Revision
38723
Author
landonf@macports.org
Date
2008-07-29 11:32:06 -0700 (Tue, 29 Jul 2008)

Log Message

fsc.exe is a windows (not a C#) binary, so don't install it

Modified Paths

Diff

Modified: trunk/dports/lang/fsharp/Portfile (38722 => 38723)


--- trunk/dports/lang/fsharp/Portfile	2008-07-29 18:29:29 UTC (rev 38722)
+++ trunk/dports/lang/fsharp/Portfile	2008-07-29 18:32:06 UTC (rev 38723)
@@ -47,6 +47,11 @@
 
     # Create launchers for the binaries
     foreach binary [glob -dir ${worksrcpath}/bin *.exe] {
+        # fsc is a windows binary
+        if {[file tail $binary] == "fsc.exe"} {
+            continue
+        }
+
         set destfile [file join "${destroot}/${prefix}/bin/" [file tail [file rootname $binary]]]
         set linkdest [file join ${sharedir}/bin/ [file tail $binary]]