Add macOS instructions for MacPorts to go alongside Homebrew (#4827)

This commit is contained in:
Jason Liu
2021-04-09 16:29:37 -04:00
committed by GitHub
parent ed54da3f29
commit b76bb46754
3 changed files with 12 additions and 3 deletions

View File

@@ -8,7 +8,8 @@ Compiling for iOS
Requirements
------------
- SCons 3.0+ (you can install it via Homebrew or Macports, you should be able
- SCons 3.0+ (you can install it via `Homebrew <https://brew.sh/>`_ or
`MacPorts <https://www.macports.org/>`_, you should be able
to run ``scons`` in a terminal when installed).
- Xcode 11.0 (or later) with the iOS (13.0) SDK and the command line tools.

View File

@@ -29,6 +29,12 @@ For compiling under macOS, the following is required:
Installing Homebrew will also fetch the Command Line Tools
for Xcode automatically if you don't have them already.
Similarly, if you have `MacPorts <https://www.macports.org/>`_
installed, you can easily install SCons and yasm using the
following command::
sudo port install scons yasm
.. seealso:: For a general overview of SCons usage for Godot, see
:ref:`doc_introduction_to_the_buildsystem`.

View File

@@ -53,8 +53,10 @@ install them.
`this page <https://mlocati.github.io/articles/gettext-iconv-windows.html>`_.
Any architecture and binary type (shared or static) works;
if in doubt, choose the 64-bit static installer.
- **macOS:** Use `Homebrew <https://brew.sh/>`_ to install gettext with the
``brew install gettext`` command.
- **macOS:** Install gettext either using `Homebrew <https://brew.sh/>`_
with the ``brew install gettext`` command, or using
`MacPorts <https://www.macports.org/>`_ with the
``sudo port install gettext`` command.
- **Linux:** On most distributions, install the ``gettext`` package from
your distribution's package manager.