Convert FreeBSD 9 to use pkgng.
Closes #296.