TL;DR
$ brew tap ie-developers/ie $ brew install ie-developers/ie/gnuplot --with-cairo --with-aquaterm
問題点
aquatermとpdf出力を行いたいので、オプションがある時代の設定ファイルをcask である ie-developerに配置しました
解決
昔のオプション指定時代のrubyコードをgitのログから復旧し、バージョンだけ変更する
インストール方法
brew tap ie-developers/ie
を実行し、 ie-developerをbrewの拡張に加えますbrew install ie-developers/ie/gnuplot --with-cairo --with-aquaterm
を実行してください (--with-cairoを設定すると、terminalにpdfcairoが追加されpdfで出力できるようになります)
アンインストール
brew uninstall ie-developers/ie/gnuplot
で削除可能