A couple of things note when messing with pkgsrc: * Remember that /usr/pkg also tends to contain configuration files that you may have edited, in /usr/pkg/etc, so don't accidently blow away stuff you need.
* When doing major messing around with pkgsrc it might be prudent to create a chroot'd copy of the system and do the messing around inside the chroot instead of on the main system's directory tree. It's easiest to just cpdup a copy of various things into the chroot, and remember to do the second mount_devfs. A more complex scenario would involve a mix of cpdup and mount_null null mounts to construct the chroot environment. Having a lot of disk space helps matters too, particularly when playing with pkgsrc. -Matt