3 sha256 "80b0dbfa59ba9ed76dbf1393998e6a2ed2d1ccc8f5850c7a46fbe31a2aea88d8"
5 url "https://download.mono-project.com/archive/#{version.major_minor_patch}/macos-10-universal/MonoFramework-MDK-#{version}.macos10.xamarin.universal.pkg"
7 desc "Open source implementation of Microsoft's .NET Framework"
8 homepage "https://www.mono-project.com/"
11 url "https://www.mono-project.com/download/stable/"
12 regex(%r{href=.*?/MonoFramework-MDK-(\d+(?:\.\d+)+).macos10.xamarin.universal\.pkg}i)
15 conflicts_with cask: "mono-mdk-for-visual-studio",
18 pkg "MonoFramework-MDK-#{version}.macos10.xamarin.universal.pkg"
20 uninstall pkgutil: "com.xamarin.mono-*",
22 "/Library/Frameworks/Mono.framework/Versions/#{version.major_minor_patch}",
23 "/private/etc/paths.d/mono-commands",
26 "/Library/Frameworks/Mono.framework",
27 "/Library/Frameworks/Mono.framework/Versions",
32 "~/Library/Preferences/mono-sgen64.plist",
36 Installing #{token} removes mono and mono dependant formula binaries in
37 /usr/local/bin and adds #{token} to /private/etc/paths.d/
40 brew unlink {formula} && brew link {formula}
42 and/or remove /private/etc/paths.d/mono-commands