Use proper pkg tools depending on FreeBSD version