Two years ago, I used Macports to install a copy of Docker Machine onto a computer running OS X 10.9 "Mavericks". All I had to do was type
sudo port install Docker-machine, and Macports automatically pulled down and compiled everything I needed.
As of August 2020, this doesn't work on Mavericks due to a bug in the latest versions of Go and/or Macports's Legacy Support framework. Since Mavericks is very old, this breakage is understandable†. However, Docker Machine did work as of two years ago, and I wouldn't mind using an older version.
Using a clean Macports prefix, how can I install ports using only software that existed as of a certain date in the past? I do not want to merely install an older version of Docker Machine‡; I want to install an older version of Docker Machine and every port that Docker Machine depends on, such as
On Debian, this would be super easy; I'd just edit sources.list to point to a snapshot. How can I do something similar in Macports? The full Macports project history is tracked in Git, so I'm pretty sure it's possible.
† I'm delighted that Macports supports Mavericks at all. With Homebrew I would be completely SOL.
‡ Because I tried that, and it doesn't work. Which isn't particularly surprising given how ports and their dependencies are interconnected. For reference, the procedure for installing an older version of a single package is documented here.