-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Bob Fischer edited this page Nov 18, 2015
·
2 revisions
-
Download latest MacPorts srce (.tar.gz version) to ~/Downloads: https://www.macports.org/install.php#source
-
Edit the file new_macports. Set the variable MACPORTS_DOWNLOAD to the name of the file just downloaded:
MACPORTS_DOWNLOAD='MacPorts-2.3.4.tar.gz'
-
Run the
new_macports
script to create a new user-level installation of MacPorts, in a particular location. For example:new_macports $HOME/macports/gcc49-python3
-
Set up your environment in your .profile:
export MACPORTS=$HOME/macports/gcc49-python3 export PORT=$MACPORTS/bin/port export PATH=$MACPORTS/bin:$PATH
-
Run one of the scripts in
setup/
to fill your new MacPorts installation with stuff. The script sets its ownMACPORTS
variable, and that is what it will fill with software. Edit if needed.