We currently have Mono 4.8 in the ports tree, and Mono 5.2 is available and brings a lot a improvements:
* http://www.mono-project.com/docs/about-mono/releases/5.0.0/
* http://www.mono-project.com/docs/about-mono/releases/5.2.0/
David Naylor (dbn@) has started working on this.
His WIP ports are located in his [GitHub repository](https://github.com/DragonSA/ports) in the [mono-5.2.0.215](https://github.com/DragonSA/ports/tree/mono-5.2.0.215) branch
There is also a [related thread on mono@](https://lists.freebsd.org/pipermail/freebsd-mono/2017-August/002524.html)
```
# git log --oneline master..
ce60990 (HEAD -> mono-5.2.0.215, github/mono-5.2.0.215) lang/mono: add acceptance tests back to distinfo
50bf001 USES=mono: generate package lists by feed
6ee1ea3 devel/monodevelop: fix nuget fetching by feed
2177017 lang/mono: automate certificate initialisation
b55d92d devel/monodevelop: fix installation of icons
e65cd2c devel/monodevelop: download file required by AzureFunctions
4e4b9cf devel/monodevelop: add all feed sources, packages
f3b668e USES=mono: various improvements
ff5875f devel/msbuild: fix distinfo, python build depends
125fefb lang/fsharp: fix distinfo
073f80b lang/mono: fix distinfo, update monolite version
2c188ee lang/mono: fix rebasing error, regen distinfo
74df804 devel/monodevelop: initial support for full nuget restore
aa1384f Uses=mono: support listing nuget files in a separate file
8444166 Uses/mono: add support for multiple sources
8ef87e0 devel/msbuild: fix compiling with csc.exe
6d7d689 x11-toolkits/gnome-sharp20: update to 2.24.4
f7401fe x11-toolkits/gtk-sharp20: update to 2.12.45
789fea6 lang/mono: increase test coverage
22a839f devel/msbuild: add unit test support
829740a devel/msbuild: fix changes in NUGET_PACKAGEDIR layout
13a42b8 lang/mono: update to 5.2.0.215
565bf0c lang/mono: update to 5.0.1.1
446f38f lang/fsharp: update to 4.1.25
889fbb8 devel/msbuild: fix building of facades
febb4be devel/msbuild: fix version number
0030674 devel/msbuild: implement installation target
17dad8b devel/msbuild: switch to self-generated project.lock.json files
b768e5f devel/msbuild: initial building version
```
TODO:
* Patch certificates to update mono on update
* Bump PORTREVISION on all dependent ports of mono
Commit message:
```
Update mono version 5.2.0.215 (and update friends)
Highlights:
- New Roslyn compiler for C# available
- devel/msbuild now ported to FreeBSD
- F# updated to version 4.1.25
- MonoDevelop updated to version 7.1.0.1297
- Improved support for nuget packages in USES=mono
USES=mono:
- properly handle caching of nuget packages
- add support for multiple feeds for nuget packages
- add support for nuget dependencies in a separate file
- add support for paket packages
devel/monodevelop:
- update to version 7.1.0.1297
- add azure cli files to the download list
- remove reference assemblies as a dependency: no longer required
- remove mono-addins as a dependency: shipped internally (via github)
- remove cmake as a dependency: replaced by new build system based on msbuild
- add multiple nuget feeds and move nuget dependencies into separate files
- explicitly ser full path to install(1) to fix installation script
devel/msbuild: Build platform for .NET and Visual Studio
- add port for version 15.3.0.0
- manually implement the dotnet cli (via overridden csc.exe file) to support
building without having to download .NET Core
lang/mono:
- update to version 5.2.0.215
- automate certificate initialisation
- increase test coverage
lang/fsharp:
- update to version 4.1.25
- add msbuild as build dependency (xbuild is no longer used)
- remove redundant mono dependency (now provided via USES)
x11-toolkits/gnome-sharp20:
- update to version 2.24.4
- use github for sources
- use autoreconf and provided bootstrap script (pre-configure)
x11-toolkits/gtk-sharp20:
- update to version 2.12.45
```