can't install AWStats

I am running FreeBSD 6.3 and trying to install AWStats. I found this site with some instructions:

Installing AWStats on FreeBSD

however, the pkg install doesn't work. This is the error I get:

dl1-3# pkg_add install -r awstats
pkg_add: can't stat package file 'install'
pkg_add: can't stat package file '-r'
pkg_add: can't stat package file 'awstats'

I am running it as root.

You don't need the "install" switch, just "pkg_add -r awstats" -r flag means remote fetch.

This is the output I get. Do I copy that entire thing and just paste it in the apache conf file? I don't understand.

dl1-3# pkg_add -r awstats
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/awstats.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/All/p5-Net-XWhois-0.90_4.tbz... Done.

*****************************************************************
Please add the following to your apache config, and restart.

#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/www/awstats/classes/"
Alias /awstatscss "/usr/local/www/awstats/css/"
Alias /awstatsicons "/usr/local/www/awstats/icons/"
ScriptAlias /awstats/ "/usr/local/www/awstats/cgi-bin/"

#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/local/www/awstats/">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

*****************************************************************

looks like it. just make sure all the paths match up.