Common macports commands
port install package
uninstalls a package
port uninstall package
shows all ports currently installed
port installed
shows all ports not currently installed, you may want to pipe the output of this command to grep to limit the output
port uninstalled
search for a port whose name matches the regex
port search regex
shows meta information on a package
port info package
shows the latest version of all available ports
port list