Fix problematic package upgrade
Unifi comes with a WAR file that it unpacks if the webroot does not exist.
This was causing the webroot to be untracked. Upon an upgrade Unifi
would not clean up the old webroot or unpack the new WAR file leaving
the web interface non-functional. This is solved by unpacking the WAR
file before creating the package so we track these files.
- Move net-mgmt/unifi to net-mgmt/unifi3
- Update port to 3.1.9
Unifi 3.x is still considered "beta". There has been a request to see
Unifi 2.x in the ports tree. They will live as separate ports,
net-mgmt/unifi2 and net-mgmt/unifi3.
Approved by: swills (mentor)