99
edits
Zachlipton (talk | contribs) |
(→Installing DarwinPorts: adding automatable commands for installing dp) |
||
Line 57: | Line 57: | ||
* Install the DarwinPorts package. | * Install the DarwinPorts package. | ||
curl 'http://svn.macports.org/repository/macports/downloads/MacPorts-1.5.0/MacPorts-1.5.0-10.4.dmg' > MacPorts-1.5.0-10.4.dmg | |||
hdiutil verify ./MacPorts-1.5.0-10.4.dmg | |||
if [ $? -ne 0 ]; then exit 1; fi | |||
hdiutil attach ./MacPorts-1.5.0-10.4.dmg | |||
if [ $? -ne 0 ] || [ ! -d /Volumes/MacPorts-1.5.0/MacPorts-1.5.0.pkg ]; then echo "ERROR: no mount"; exit 1; fi | |||
sudo installer -pkg /Volumes/MacPorts-1.5.0/MacPorts-1.5.0.pkg -target / | |||
* Unpack the dport tarball of packages and move them into place: | * Unpack the dport tarball of packages and move them into place: | ||
edits