When installing www/apache24 (2.4.9-r3) from ports, no config files get installed. I've checked on FreeBSD-8.4-p12 and FreeBSD-10.0-p2. The files httpd.conf, magic, mime.types, extra/* are even missing from the stage dir but are installed below /usr/local/share/examples/apache24.
Hi Robert, the files are installed/removed with the following lines from pkg-plist (sample line for mime.types) ... @unexec if cmp -s %D/%%ETCDIR%%/mime.types %D/%%EXAMPLESDIR%%/mime.types; then rm -f %D/%%ETCDIR%%/mime.types; fi %%EXAMPLESDIR%%/mime.types @exec [ -f %D/%%ETCDIR%%/mime.types ] || cp %D/%%EXAMPLESDIR%%/mime.types %D/%%ETCDIR%%/mime.types Without this lines existing files would be overwritten, so it is correct to have them during package building only in the share/example/apache24 directory.
Hi Robert, I'm not sure if your question was answered or if something went wrong on your system. Can you give a sort feedback, else I will close the PR end of the next week.
I cannot reproduce this on a recently updated system, bug can be closed.