@${ECHO_CMD} "@dir(root,www,0775) ${WWWDIR}/${f}" >> ${TMPPLIST}
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
${INSTALL_DATA} ${FILESDIR}/newsyslog.conf.sample ${STAGEDIR}/${WWWDIR}/contrib/newsyslog.conf.sample
@${ECHO_CMD} "@dir etc/newsyslog.conf.d" >> ${TMPPLIST}
@${ECHO_CMD} "@sample ${WWWDIR}/contrib/newsyslog.conf.sample etc/newsyslog.conf.d/librenms.conf" >> ${TMPPLIST}
.include <bsd.port.mk>
# configuration file for newsyslog for librenms
#
# see newsyslog.conf(5) for details
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
/var/log/librenms/librenms.log www:www 644 7 * $D0 J /var/run/librenms/librenms.pid
/var/log/librenms/librenms-service.log www:www 644 7 * $D0 J /var/run/librenms/librenms.pid