diff --git a/.travis/deps.sh b/.travis/deps.sh index a5d51178..dc08ec7f 100755 --- a/.travis/deps.sh +++ b/.travis/deps.sh @@ -6,6 +6,11 @@ install_osx() { vde cmake gnu-getopt coreutils zlib } +install_macports() { + sudo port install pkgconfig pcre libpng libedit libsdl2 freetype libsdl2_ttf \ + vde2 cmake util-linux coreutils zlib +} + install_arch_linux() { sudo pacman -S --noconfirm pkgconf sudo pacman -S --noconfirm pcre libpng libedit @@ -66,7 +71,7 @@ install_clang64() { case "$1" in - osx|linux|mingw64|ucrt64|clang64) + osx|macports|linux|mingw64|ucrt64|clang64) install_"$1" ;; arch-linux) diff --git a/README-CMake.md b/README-CMake.md index 18e2403c..ae5562a8 100644 --- a/README-CMake.md +++ b/README-CMake.md @@ -285,6 +285,12 @@ binaries. $ sudo sh .travis/deps.sh osx ``` + - macOS MacPorts: + + ```bash + $ sudo sh .travis/deps.sh macports + ``` + - MinGW-w64 Win64 console: ```bash