webalizer installation on freebsd 7

cd /usr/ports/www/webalizer
make
make install
make clean
rehash
mkdir /usr/local/www/stats
webalizer -o /usr/local/www/stats /var/log/httpd-access_log

After that, just added it to the root crontab

crontab -e

like this:

0 * * * * /usr/local/bin/webalizer -o /usr/local/www/stats …
more ...