Created attachment 228785 [details] Diff for changes in devel/coursier for new version and structure The current version of coursier on ports is 1.1.0-M12. There have been many changes with the project since then. This diff updates not only the version to the latest stable version of coursier (needed for Scala users that use Metals, the Scala language server), and it also updates the way it extracts the artifact. Previously it was grabbing source and taking the coursier executable from the root. That project structure has changed, so that's no longer possible. I instead followed a similar approach to what shells/ammonite does and instead grab the coursier executable from the releases. There has also been a lot of new features added, which is the reason for the pkg-descr change. I've followed the testing steps in the porters-handbook, everything works, and I believe I have the diff all set to go. This is my first time submitting to ports, so please let me know if there is something else needed.
The way your distfile is set up, the name does not change when upstream releases a new version. This is a bad thing as it means the FreeBSD distfile cache will be unable to cache more than one version of the distfile. The easiest way to fix this is to set DIST_SUBDIR to something like DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} so each version of the distfile gets its own directory.
Created attachment 229077 [details] Updated diff to account for new structure and version of coursier
(In reply to Robert Clausecker from comment #1) Gotcha that makes sense. I went ahead and made that change. Thanks!
You can set the maintainer-approval flag to + with reason "maintainer timeout." Apparently the maintainer truly doesn't care about this one. Is the patch still current?
Is this still the most current version? The maintainer seems to be AWOL, so I'll be able to commit your patch as is once it passes testing.
Return to pool due to a lack of submitter response.