From: Stuart Henderson Subject: Re: UPDATE: add -java subpackage to sysutils/sleuthkit To: Sebastian Reitenbach Cc: ports Date: Sat, 19 Sep 2026 13:28:34 +0100 | +DISTFILES.maven = \ | + joda-time/joda-time/2.13.1/joda-time-2.13.1.jar \ | + com/google/guava/guava/33.4.0-jre/guava-33.4.0-jre.jar \ | + com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar \ ... | +++ distinfo 19 Sep 2026 08:09:17 -0000 | @@ -1,2 +1,32 @@ | +SHA256 (com/google/code/gson/gson/2.12.1/gson-2.12.1.jar) = 6+4T1ft0d81/HMAQ4MNW34yoBwlxUkjal/eeNcy0++w= | +SHA256 (com/google/code/gson/gson/2.8.5/gson-2.8.5.jar) = IzoBSfw2XJ9u29aDz+JmsZvcdzvpjqva9rPJJLSOfYE= | +SHA256 (com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar) = io+Bz5s1nj9t+mkaHndphcBh7y8iPJssgHU+G0WOgGQ= I really don't like those long paths under FULLDISTDIR, use the {url} syntax of DISTFILES to trim them. Untested but maybe like this is all you'd need: joda-time/joda-time/2.13.1/{}joda-time-2.13.1.jar | +LIB_DEPENDS-java = databases/sqlite-jdbc guess that's a new port providing a .jar? it would need to be RUN_DEPENDS (and maybe BUILD_DEPENDS) unless it provides an .so which is linked. | + PATH=${PATH}:${JAVA_HOME}/bin \ should be PATH=${PORTPATH}:... not PATH=${PATH}, I think