Skip to content

Instantly share code, notes, and snippets.

@janodev
Created October 20, 2013 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janodev/7068572 to your computer and use it in GitHub Desktop.
Save janodev/7068572 to your computer and use it in GitHub Desktop.
# Install Xcode 5.0.1 GM seed, open it, install Command Line Tools.
# Uninstall macports, see https://www.macports.org/guide/chunked/installing.macports.uninstalling.html
# Run the following:
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.2.0.tar.bz2
tar jxvf MacPorts-2.2.0.tar.bz2
cd MacPorts-2.2.0
CC=/usr/bin/cc ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline \
--with-tclpackage=/Library/Tcl \
--with-tcl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework \
--with-tclinclude=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework/Headers
sudo make
sudo make install
export PATH=/opt/local/bin:$PATH # add this to your ~/.profile if you still didn't
sudo port -dv selfupdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment