I wrote this script as a learning experience to allow me to quickly install these apps in an iocage jail so I could experiment with the apps and not disturb my working ones. Originally I wrote it with installing mono 5.12 from ports. Now that mono version 5.10.1.47_3 is available, the apps can update automatically and it's faster to install from pkg as opposed to ports. I decided to adjust the script to install everything from the pkg commands. It installs all the apps in a single jail after the mono-config file has all it's options set, with the data going into /mnt/<YourPool>/apps/<AppData>.
Thanks to @Pentaflake and @danb35 for their resources I learned a lot from studying their contributions.
Thanks to @Pentaflake and @danb35 for their resources I learned a lot from studying their contributions.