Changes between Version 63 and Version 64 of Migration


Ignore:
Timestamp:
Oct 31, 2013, 3:41:49 AM (11 years ago)
Author:
Dmole (Tim)
Comment:

A simple example

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v63 v64  
    7171sudo port setrequested myport1 myport2 …
    7272}}}
     73
     74=== A simple example ===
     75run as root
     76{{{
     77xcode-select --install
     78xcodebuild -license
     79echo "install this then press enter https://distfiles.macports.org/MacPorts/MacPorts-2.2.1-10.9-Mavericks.pkg"
     80read YNM
     81cp /opt/local/etc/macports/macports.conf ~/Downloads/macports.conf.old
     82cp /opt/local/etc/macports/macports.conf.default /opt/local/etc/macports/macports.conf
     83PL=~/Downloads/my_requested_ports.txt
     84port -q installed requested | perl -pe 's/@.*//g;s/ +//g' | sort -u > $PL
     85echo "make sure you want everything listed in $PL then press enter"
     86read YNM
     87port -f uninstall installed
     88port clean all
     89port install $(cat $PL | perl -pe 's/\n/ /g')
     90}}}
     91this example will ignore variants, compile flags, you may have used originally.