Install fortune on your mac with Homebrew.

brew install fortune

You can go ahead and start using it now, but if you want to customize your fortune files you need to know the following:

Fortune files are found in /usr/local/share/games/fortunes.

To add a new fortune file:

  1. Move your file (without a file extension name) to the above directory.
  2. Run strfile {path to fortune file}
  3. ???
  4. Profit.