Skip to content

Commit

Permalink
Add bootstrap-on-macOS-using-MacPorts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy committed Apr 29, 2024
1 parent 58eb91f commit cb2e382
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions script/bootstrap-on-macOS-using-MacPorts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env bash
#
# bootstrap-on-macOS-using-MacPorts.sh
#
# Run this script with root privileges. I.e.:
#
# sudo ./script/bootstrap-on-macOS-using-MacPorts.sh
#
# Copyright (C) 2024 Stephen G. Tuggy and other Vega Strike contributors
#
# This file is part of Vega Strike.
#
# Vega Strike is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Vega Strike is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Vega Strike. If not, see <https://www.gnu.org/licenses/>.

set -e

port install python312 [email protected]_10+cmake_scripts+no_single+no_static+python312 gtk3 gtkglext libsdl2 libGLU freeglut xorg-server openal-soft cmake expat libjpeg-turbo libpng libvorbis ninja

export CMAKE_PREFIX_PATH="/opt/local/"

ln -s /opt/local/include/GL /opt/local/include/OpenGL
ln -s /opt/local/include/GL /opt/local/include/GLUT

echo "CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH"

0 comments on commit cb2e382

Please sign in to comment.