Question: how to install xcrysden on mac?
Answer: Install a compatible version of macports software using 3 steps given in the following link: https://www.macports.org/install.php.
Install XCrySDen using following command.
sudo port install xcrysden +x11.
Add the following lines in .bash_profile file.
Open a new terminal window and execute command.
xcrysden.