There are instructions about how to get Xcode on the [Installing MacPorts](https://www.macports.org/install.php) page.
Some versions of [Xcode](http://developer.apple.com/xcode.html) are available for free on the Mac App Store.
Other versions are available through Apple's Developer website (some of these are free, but do require you to
- register with Apple as an "Apple Developer", which involves clicking to accept a legal agreement with Apple.)
+ register with Apple as an "Apple Developer", which involves clicking to accept a legal agreement with Apple).
I have an older version of this installed. If you download a recent version, email me and let me know how the
process works so I can tell others.
<!--