I've written a page describing how to install a variety of cheminformatics tools on a Mac using HomeBrew and Anaconda including the tools needed to compile many of the packages.
brew install cdk brew install chemspot brew install indigo brew install inchi brew install opsin brew install osra brew install open-babel
I don't use Amber but a number of readers have asked me about installation. Rather than go though it here I would simply refer you to a superb detailed explanation here https://www.ovetande.se/software/amber/install/ambertools19-macos-10-14-4-xcode-10-2-1/.
Installing Amber/AmberTools on macOS has become much easier though is not to be considered completely trivial. Below different methods are presented to install the current version of AmberTools, where the method should be the same for Amber