portsの使いかた

  • 最新の一覧を取得
$ port sync
  • パッケージの検索
$ port search パッケージ名
  • インストール
$ port install パッケージ名
  • パッケージの詳しい情報を見る
$ port info パッケージ名
  • インストール済みのパッケージを表示
$ port installed
  • パッケージに含まれるファイルを見る
$ port contents パッケージ名