Skip to content

Instantly share code, notes, and snippets.

@fourdollars
Created December 19, 2010 13:20
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 fourdollars/747325 to your computer and use it in GitHub Desktop.
Save fourdollars/747325 to your computer and use it in GitHub Desktop.
#! /bin/bash
# Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
# Mac OS X 10.4.11 + MacPorts 1.9.1
# 2010/12/20 updated
set -e -x
# Upgrade MacPorts
port selfupdate
port upgrade outdated || (port deactivate subversion && port clean subversion && port install subversion)
# Install Perl
port install perl5 +perl5_12
# Install Python
port install python27 +no_tkinter
port install python_select
python_select python27
# Install Vim
port install vim +perl +python27
# Install Git
port install git-core +python27
port install tig
# Install utils
port install wget coreutils
# Clean
port -u uninstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment