Upstream has changed from providing a .war file to providing an unpackaged webroot instead, so this won't upgrade cleanly. First pkg_delete unifi, then rm -rf /usr/local/share/unifi/webapps/ROOT, then install. We can't provide built packages of this port anyway, so this is relatively low impact.