<div dir="ltr"><span style="color:rgb(33,33,33);font-size:13px">To build lang/processing, one needs a specific version of the JDK (as specified in </span><a href="https://github.com/processing/processing/blob/master/build/build.xml" target="_blank" style="font-size:13px">https://github.com/processing/processing/blob/master/build/build.xml</a><span style="color:rgb(33,33,33);font-size:13px">). Question: how does one create a dependency in the Portfile to determine whether this version is present? The purpose is to 1) provide a better error message to the user and 2) prevent builds from failing </span><a href="https://travis-ci.org/macports/macports-ports/builds/423195489" target="_blank" style="font-size:13px">https://travis-ci.org/macports/macports-ports/builds/423195489</a><span style="color:rgb(33,33,33);font-size:13px"> at every update. I tried checking for the existence of this folder:  `/Library/Java/</span><span style="color:rgb(33,33,33);font-size:13px">JavaVirtualMachines/jdk1.8.0_</span><span style="color:rgb(33,33,33);font-size:13px">181.jdk/` but didn't get anywhere. Thanks!</span><br></div>