Changing path for pkg_add
I want to install screen on a FreeBSD 4 box. I use pkg_add -r screen, but the file doesn't exist under the search path on the ports ftp location:
I have tried to set the $PACKAGESITE environment variable to point to ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/misc. O chose that path, because logging in over ftp and browsing actually shows the package tgz file there - anyway, I still get the same error. If I export my new $PACKAGESITE env var, I get the error "pkg_add: can't stat package file 'screen'".
How can I fix this to point to the new path.. also, I realise I could probably just download the package file and install it directly. Are there any 'best practices' to bear in mind when not using -r ?
This is me: http://chris.uk.com