when installing www/apache24 using pkg -r /some/path, it will fail with: [21/24] Extracting apache24-2.4.57_1: 100% cp: /usr/local/share/apache24/misc/index.html: No such file or directory pkg: POST-INSTALL script failed /usr/local/etc/apache24/httpd.conf not readable This means that the POST-INSTALL script is not pkg -r safe.