To fix this error you need to install port - /usr/ports/misc/compat6x. This package allows you to install the compat6x libraries on your system, so you can use legacy binaries that depend on them. Type the following command at a shell prompt:
cd /usr/ports/misc/compat6x make install clean
Now you should able to use portmanager command.