To install a FreeBSD txz package file use as root (#):
# pkg add file.txz