portコマンドのリストを更新する

久しぶりにMac portsを使おうとすると、こんなWarningが出ていることに気づきました。

Warning: port definitions are more than two weeks old, consider using selfupdate

ということで、言われている通りport selfupdateを実行して、さらにport upgrade outdatedを実施しました。

bash-3.2$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.3 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

port upgrade outdatedは新しいバージョンが出ているアプリケーション全てを一括でアップグレードするという意味らしいです。yumだとyum updateをすると自動的にリポジトリのリストが更新されるのですが、portでは個別のコマンドになっているようです。