title: How to use “port install” without upgrading dependencies?
body: <p>As more-and-more ports depend on a great deal of other ports and those ports are frequently upgraded installation of a single port can take long hours due to unnecessary upgrades of dependencies.</p>
  
  <p>Can I somehow specify for macports that I do not want to upgrade my existing dependent ports when I install a new port?</p>
  
  <p>something like </p>
  
  <pre><code>sudo port install --no-deps portname  #  but this does not work
  </code></pre>
  
  <p>I have checked macports guide, have tried to google it up, the most similar question I have found is <a href="https://serverfault.com/questions/316412/debian-how-to-use-apt-get-install-without-upgrading-dependencies?lq=1">Debian: How to use “apt-get install” without upgrading dependencies?</a> I have tried the option in the answer there but it does not work for macports.</p>