50 | | This sed script gets close to coverting myports.txt into an installation script. It will not arrange the order of the installation according to the dependency tree and it cannot check the most recent variants against those of the installed ports. It will strip away any variants with '+darwin*', '+macosx' or '+i386', as these variants should be determined automatically for a new installation. The {{{'&& \'}}} at the end of each command line will effectively create one long command line, with contingent installation of successive ports; should any one port install fail, no others will run (e.g., try {{{ls abc.txt && cat abc.txt}}} where no file abc.txt exists). Remove the {{{'&& \'}}} from the last line of the file. |
| 50 | These sed scripts will get close to coverting myports.txt into an installation script. It will not arrange the order of the installation according to the dependency tree and it cannot check the most recent variants against those of the installed ports. It will strip away any variants with '+darwin*', '+macosx' or '+i386', because any platform or architecture variants should be determined automatically. The {{{myports.bash}}} file should be reviewed carefully and the variant specifications should be compared with the output from {{{port variants <aPort>}}}. Some ports may have a long list of +variant options, but they might all be replaced with a {{{+huge}}} variant. |
| 51 | |
| 52 | The {{{'&& \'}}} at the end of each command line will effectively create one long command line, with contingent installation of successive ports; should any one port install fail, no others will run (e.g., try {{{ls abc.txt && cat abc.txt}}} where no file abc.txt exists). When any one of the ports fails to install, the {{{myports.bash}}} script can be edited to remove all the prior ports that are already installed. |