Yes, thanks for the tips! I am pretty sure that it is possible to automate it one way or another. But my point is that it would be helpful to have a one-liner to install MacPorts and maintain it as a part of the main repository.
Regards, Artem > On 22 May 2021, at 15:01, Bjarne D Mathiesen <macint...@mathiesen.info> wrote: > > > > Joshua Root wrote: >> On 2021-5-22 23:17 , Bjarne D Mathiesen wrote: >>> >>> My own installation script looks something like this : >>> >>> #!/usr/bin/env bash >>> >>> prefix=$(1:-'/opt/local') >>> version=${2:-'2.7.0'} >> >> I you want to automatically use the latest version, it can be found in >> <https://github.com/macports/macports-base/blob/master/config/RELEASE_URL>. >> >> - Josh >> > > so something like this : > declare version=$( curl --url > 'https://raw.githubusercontent.com/macports/macports-base/master/config/RELEASE_URL' > ) > version=${version##*/v} > > > -- > Bjarne D Mathiesen > Korsør ; Danmark ; Europa > ----------------------------------------------------------------------- > denne besked er skrevet i et totalt M$-frit miljø > OpenCore + macOS 10.15.7 Catalina > MacPro 2010 ; 2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC > ATI Radeon RX 590 8 GB