<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/43c4e1cb162328a8c869e9d4f3e0a6361b6ba2be">https://github.com/macports/macports-ports/commit/43c4e1cb162328a8c869e9d4f3e0a6361b6ba2be</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 43c4e1cb162328a8c869e9d4f3e0a6361b6ba2be
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Feb 23 09:26:09 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> fsharp: update version 1.9.4.19->10.2.1
</span>---
lang/fsharp/Portfile | 60 ++++++++--------------------------------------------
1 file changed, 9 insertions(+), 51 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/fsharp/Portfile b/lang/fsharp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9550a5a..7fe3b5a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/fsharp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/fsharp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,11 @@
</span> # -*- 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
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name fsharp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.9.4.19
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories lang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Restrictive Noncommercial
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup fsharp fsharp 10.2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span> maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,56 +18,14 @@ long_description F# is a typed functional programming language \
</span> F# stems from the ML family of languages and has a \
core language compatible with that of OCaml, though \
also draws from C# and Haskell.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://fsharp.org
</span> platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_zip yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ftp://ftp.research.microsoft.com/downloads/6f48a466-4294-4973-9e15-25e0ddff422f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 d51c93d29599540a957f94ff387e65fa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 655a790fd98f7b68c19722b0a29e9d1048c39e0f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f5622eefbfa7aae9813b75a9ee4c08cb8a85d9c1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a818a2edd98308112d818ad8588675161d389b608d6d788458196f8b6ab4e47e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 47571060
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:msbuild
</span> depends_lib port:mono
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir FSharp-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_configure no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|gacutil -i|gacutil -i -root ${destroot}${prefix}/lib/|g" ${worksrcpath}/install-mono.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|^echo.*||g" ${worksrcpath}/install-mono.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Install the assemblies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${worksrcpath} && bash install-mono.sh"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Copy the entire lot to ${prefix}/share
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set sharedir ${prefix}/share/fsharp-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath} ${destroot}/${sharedir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Create launchers for the binaries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach binary [glob -dir ${worksrcpath}/bin *.exe] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # fsc is a windows binary
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file tail $binary] == "fsc.exe"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- continue
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set destfile [file join "${destroot}${prefix}/bin/" [file tail [file rootname $binary]]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set linkdest [file join ${sharedir}/bin/ [file tail $binary]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Write the launcher script
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set fd [open ${destfile} "w"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $fd "#/bin/sh"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $fd "if \[ -z \$DYLD_FALLBACK_LIBRARY_PATH \]; then"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $fd " export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:${prefix}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $fd "fi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $fd "exec ${prefix}/bin/mono ${linkdest} \$\*"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close $fd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "chmod +x ${destfile}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span></pre><pre style='margin:0'>
</pre>