This is a follow up highly inspired (copy/paste) of the excellent guide from joeschmuck to install minidlna in FreeNAS prior to 11.2.
https://www.truenas.com/community/threads/how-to-install-minidlna-on-freenas-9-3-prior-to-plugin.25395/
This guide uses FreeNAS new UI 11.2 beta 2 with iocage...