diff options
Diffstat (limited to 'doc/install/OSX/MacPorts.mdwn')
-rw-r--r-- | doc/install/OSX/MacPorts.mdwn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/install/OSX/MacPorts.mdwn b/doc/install/OSX/MacPorts.mdwn new file mode 100644 index 000000000..379e42d12 --- /dev/null +++ b/doc/install/OSX/MacPorts.mdwn @@ -0,0 +1,27 @@ +This is not a recommended way to install git-annex. Use [[HomeBrew]] or the +prebuilt app bundle instead. + +But if you really want to use MacPorts: + +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 + +<pre> +sudo port install git-core ossp-uuid md5sha1sum coreutils gnutls libxml2 libgsasl pkgconfig +sudo cabal update +PATH=$HOME/bin:$PATH +cabal install c2hs git-annex --bindir=$HOME/bin +</pre> + +## PATH setup + +Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example: +<pre> +PATH=$HOME/bin:$PATH +</pre> + +See also: + +* [[forum/OSX__39__s_haskell-platform_statically_links_things]] +* [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]] |