Install the Haskell Platform from [[http://hackage.haskell.org/platform/mac.html]]. The version provided by Macports is too old to work with current versions of git-annex. Then execute
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre

sudo ln -s /opt/local/include/pcre.h  /usr/include/pcre.h # This is hack that allows pcre-light to find pcre

sudo cabal update
cabal install git-annex --bindir=$HOME/bin
See also: * [[forum/OSX__39__s_haskell-platform_statically_links_things]] * [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]]