pkg

You should add:

    register_shell="/bin/heirloom-sh"

to register the shell into /etc/shells at post-install time.