Add a pointer to MacPorts. Thanks to Markus Moll for maintaining the port and pointing me to it. Change-Id: Ia28fcbfb4946409de9e6b85d1dc332a25555195b
diff --git a/docs/source/building.rst b/docs/source/building.rst index d0c717f..f739f38 100644 --- a/docs/source/building.rst +++ b/docs/source/building.rst
@@ -224,10 +224,19 @@ update to Xcode >= 4.6.x before attempting to build Ceres. -On OS X, we recommend using the `homebrew -<http://mxcl.github.com/homebrew/>`_ package manager to install -Ceres. Assuming that you have the ``homebrew/science`` [#f1]_ tap -enabled, then +On OS X, you can either use `MacPorts <https://www.macports.org/>`_ or +`homebrew <http://mxcl.github.com/homebrew/>`_ to install Ceres Solver. + +If using `MacPorts <https://www.macports.org/>`_, then + +.. code-block:: bash + + sudo port install ceres-solver + +will install the latest version. + +If using `homebrew <http://mxcl.github.com/homebrew/>`_ and assuming +that you have the ``homebrew/science`` [#f1]_ tap enabled, then .. code-block:: bash