Skip to content

Commit

Permalink
Add MacPorts as an option for the travis/deps.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
rbanffy authored and pkoning2 committed Sep 4, 2024
1 parent c093bcd commit 2bb425a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -66,7 +71,7 @@ install_clang64() {


case "$1" in
osx|linux|mingw64|ucrt64|clang64)
osx|macports|linux|mingw64|ucrt64|clang64)
install_"$1"
;;
arch-linux)
Expand Down
6 changes: 6 additions & 0 deletions README-CMake.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bb425a

Please sign in to comment.