Use proper pkg tool depending on freebsd version