Yes, I saw it. Thanks anyway for pointing it to me. I think this should be proposed as a command-line option, something like "port wishlist" which would save a ton of time to everybody. I'll look into developing this (possibly ... as a port!)
J. 2014-10-19 15:27 GMT-04:00 Carlo Tambuatco <oraclmas...@gmail.com>: > Have you checked out the macports migration page? There's a script you > might be interested in: > > > 1. Download and execute the restore_ports script. (If you installed > MacPorts from source and put its Tcl package somewhere other than > /Library/Tcl, then you'll need to use the -t option when you run > restore_ports.tcl; see ./restore_ports.tcl -h.) > > curl -O > https://svn.macports.org/repository/macports/contrib/restore_ports/restore_ports.tcl > chmod +x restore_ports.tcl > sudo ./restore_ports.tcl myports.txt > > > > On Sun, Oct 19, 2014 at 3:23 PM, Jean-François Gobin <jeanfgo...@gmail.com > > wrote: > >> Is there a command line switch for "port" that would dump an >> "install/select" script? For example, that would dump something like >> >> port install python27 >>> port install python34 >>> port select python --set python34 >>> port install octave >>> port install gcc48 >>> port select gcc --set gcc48 >> >> >> That can be used to uninstall everything/reinstall everything or even >> port a list of ports to another machine. >> >> J. >> >> >> 2014-10-19 14:47 GMT-04:00 Lawrence Velázquez <lar...@macports.org>: >> >>> On Oct 19, 2014, at 2:33 PM, Carlo Tambuatco <oraclmas...@gmail.com> >>> wrote: >>> >>> > Supported or not...this way seemed to work for a majority of my ports >>> and I was wondering whether nuking all 459 of my ports for the sake of a >>> few that don't work seems like an inefficient solution. It seems there are >>> other ways to approach this problem... >>> >>> Didn't you say (or intimate) that you upgraded all your ports? That >>> means you've trashed and recompiled them all anyway, so you're not really >>> saving any time. >>> >>> There are undoubtedly other ways to go about this, but starting from >>> scratch is the most reliable and usually works out best for everyone >>> involved. >>> >>> vq >>> _______________________________________________ >>> macports-users mailing list >>> macports-users@lists.macosforge.org >>> https://lists.macosforge.org/mailman/listinfo/macports-users >>> >> >> >> >> -- >> Jean-François Gobin, Ing., CCENT, CCNA, CCNA Security >> http://newsfromjean.blogspot.com/ >> >> _______________________________________________ >> macports-users mailing list >> macports-users@lists.macosforge.org >> https://lists.macosforge.org/mailman/listinfo/macports-users >> >> > -- Jean-François Gobin, Ing., CCENT, CCNA, CCNA Security http://newsfromjean.blogspot.com/
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users