just found a small problem with the "new" port www/matomo, one permission for a folder is not correct which can cause permission problems if you do the setup as root and not www.
Maybe the directory should already be created with correct permissions to prevent this.
I will add a diff and link it here.
Review can be found here:
A commit references this bug:
Date: Mon Apr 9 12:14:14 UTC 2018
New revision: 466849
Added required directory %%WWWDIR%%/tmp/cache/tracker with correct permissions to pkg-plist.
Made the file %%WWWDIR%%/piwik.js writeable for user www, as systemChecks of matomo complains if that file is not writeable.
Reviewed by: tz (mentor)
Approved by: tz (maintainer, mentor)
Differential Revision: https://reviews.freebsd.org/D15013