瀏覽代碼

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

Jason Liu 4 年之前
父節點
當前提交
b76bb46754

+ 2 - 1
development/compiling/compiling_for_ios.rst

@@ -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.
 

+ 6 - 0
development/compiling/compiling_for_osx.rst

@@ -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`.
 

+ 4 - 2
tutorials/i18n/localization_using_gettext.rst

@@ -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.