Erlang installation folder

Where is the folder for Erlang? I install it using Mac ports in Macbook Air. I need the folder path to setup the SDK for Elixir in IntelliJ.