diff options
Diffstat (limited to 'devel/pmd')
-rw-r--r-- | devel/pmd/Makefile | 5 | ||||
-rw-r--r-- | devel/pmd/distinfo | 6 | ||||
-rw-r--r-- | devel/pmd/files/patch-bin_pmd | 77 | ||||
-rw-r--r-- | devel/pmd/pkg-plist | 44 |
4 files changed, 38 insertions, 94 deletions
diff --git a/devel/pmd/Makefile b/devel/pmd/Makefile index 77633f5aad99..df9111f55863 100644 --- a/devel/pmd/Makefile +++ b/devel/pmd/Makefile @@ -1,5 +1,5 @@ PORTNAME= pmd -DISTVERSION= 7.11.0 +DISTVERSION= 7.16.0 CATEGORIES= devel java MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}_releases/${DISTVERSION}/ DISTNAME= ${PORTNAME}-dist-${DISTVERSION}-bin @@ -19,7 +19,8 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-bin-${DISTVERSION} -PLIST_SUB+= ETCDIR=${ETCDIR} PORTVERSION=${DISTVERSION} +PLIST_SUB+= ETCDIR=${ETCDIR} \ + PORTVERSION=${DISTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%ETCDIR%%|${ETCDIR}|g' \ diff --git a/devel/pmd/distinfo b/devel/pmd/distinfo index cf9463ff1160..1a7beba67228 100644 --- a/devel/pmd/distinfo +++ b/devel/pmd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741398519 -SHA256 (pmd-dist-7.11.0-bin.zip) = 670e342db65437abcbaf1ce114b2e3b3285de64c2dcc590ca0e4f1a15ab22a6b -SIZE (pmd-dist-7.11.0-bin.zip) = 70848348 +TIMESTAMP = 1755601548 +SHA256 (pmd-dist-7.16.0-bin.zip) = 8f9fed9eaac4fb1fb9882f8820570dcb1d8647ada158437ba28424a07a48edfd +SIZE (pmd-dist-7.16.0-bin.zip) = 71393572 diff --git a/devel/pmd/files/patch-bin_pmd b/devel/pmd/files/patch-bin_pmd index 8106a67775e0..558e979848ea 100644 --- a/devel/pmd/files/patch-bin_pmd +++ b/devel/pmd/files/patch-bin_pmd @@ -1,79 +1,20 @@ ---- bin/pmd.orig 2024-07-21 02:20:21 UTC +--- bin/pmd.orig 2025-08-19 11:31:35 UTC +++ bin/pmd -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - is_cygwin() { - case "$(uname)" in -@@ -48,17 +48,7 @@ set_lib_dir() { +@@ -74,7 +74,7 @@ set_lib_dir() { set_lib_dir() { - if [ -z "${LIB_DIR}" ]; then -- # Allow for symlinks to this script -- if [ -L "$0" ]; then -- local script_real_loc=$(readlink "$0") -- else -- local script_real_loc=${BASH_SOURCE[0]:-${(%):-%x}} -- fi -- local script_dir=$(dirname "${script_real_loc}") -- -- pushd "${script_dir}/../lib" >/dev/null -- readonly LIB_DIR=$(pwd -P) -- popd >/dev/null -+ readonly LIB_DIR=%%PREFIX%%/share/java/pmd + if [ -z "$LIB_DIR" ]; then +- LIB_DIR="$PMD_HOME/lib" ++ readonly LIB_DIR="%%PREFIX%%/share/java/pmd" fi } -@@ -70,17 +60,7 @@ set_conf_dir() { +@@ -86,7 +86,7 @@ set_conf_dir() { set_conf_dir() { - if [ -z ${CONF_DIR} ]; then -- # Allow for symlinks to this script -- if [ -L $0 ]; then -- local script_real_loc=$(readlink "$0") -- else -- local script_real_loc=${BASH_SOURCE[0]:-${(%):-%x}} -- fi -- local script_dir=$(dirname "${script_real_loc}") -- -- pushd "${script_dir}/../conf" >/dev/null -- readonly CONF_DIR=$(pwd -P) -- popd >/dev/null -+ readonly CONF_DIR=%%ETCDIR%% - fi - } - -@@ -90,12 +70,12 @@ check_conf_dir() { + if [ -z "$CONF_DIR" ]; then +- CONF_DIR="$PMD_HOME/conf" ++ readonly CONF_DIR="%%ETCDIR%%" fi } --function script_exit() { -+script_exit() { - echo "$1" >&2 - exit 1 - } - --function check_java() { -+check_java() { - java -version >/dev/null 2>&1 - if [ $? -ne 0 ]; then - script_exit "No java executable found in PATH" -@@ -153,7 +133,7 @@ jre_specific_vm_options() { - fi - } - --function add_pmd_classpath() { -+add_pmd_classpath() { - if [ -n "$classpath" ]; then - classpath="$classpath:${CONF_DIR}:${LIB_DIR}/*" - else -@@ -161,7 +141,7 @@ function add_pmd_classpath() { - fi - } - --function add_openjfx_classpath() { -+add_openjfx_classpath() { - if [ "${APPNAME}" = "designer" ] - then - if [ "$java_vendor" = "openjdk" ] && [ "$java_ver" -lt 100 ] diff --git a/devel/pmd/pkg-plist b/devel/pmd/pkg-plist index 4690bb667778..833a2e98101f 100644 --- a/devel/pmd/pkg-plist +++ b/devel/pmd/pkg-plist @@ -2,48 +2,49 @@ bin/pmd %%ETCDIR%%/simplelogger.properties.sample %%DATADIR%%/Saxon-HE-12.5.jar %%DATADIR%%/antlr4-runtime-4.9.3.jar -%%DATADIR%%/apex-ls_2.13-5.7.0.jar -%%DATADIR%%/apex-parser-4.4.0.jar +%%DATADIR%%/apex-ls_2.13-5.9.0.jar +%%DATADIR%%/apex-parser-4.4.1.jar %%DATADIR%%/apex-types_2.13-1.3.0.jar -%%DATADIR%%/asm-9.7.1.jar +%%DATADIR%%/asm-9.8.jar %%DATADIR%%/better-files_2.13-3.9.2.jar %%DATADIR%%/checker-compat-qual-2.5.3.jar -%%DATADIR%%/checker-qual-3.49.0.jar -%%DATADIR%%/common_2.13-4.13.2.jar +%%DATADIR%%/checker-qual-3.49.5.jar +%%DATADIR%%/common_2.13-4.13.8.jar %%DATADIR%%/commons-codec-1.15.jar -%%DATADIR%%/commons-lang3-3.17.0.jar +%%DATADIR%%/commons-lang3-3.18.0.jar %%DATADIR%%/directory-watcher-0.18.0.jar %%DATADIR%%/directory-watcher-better-files_2.13-0.18.0.jar -%%DATADIR%%/error_prone_annotations-2.36.0.jar -%%DATADIR%%/failureaccess-1.0.2.jar +%%DATADIR%%/error_prone_annotations-2.38.0.jar +%%DATADIR%%/failureaccess-1.0.3.jar %%DATADIR%%/flogger-0.8.jar %%DATADIR%%/flogger-system-backend-0.8.jar %%DATADIR%%/geny_2.13-0.6.2.jar -%%DATADIR%%/groovy-4.0.25.jar -%%DATADIR%%/gson-2.12.1.jar +%%DATADIR%%/groovy-4.0.27.jar +%%DATADIR%%/gson-2.13.1.jar %%DATADIR%%/gson-extras-1.3.0.jar -%%DATADIR%%/guava-33.4.0-jre.jar +%%DATADIR%%/guava-33.4.8-jre.jar %%DATADIR%%/httpclient5-5.1.3.jar %%DATADIR%%/httpcore5-5.1.3.jar %%DATADIR%%/httpcore5-h2-5.1.3.jar -%%DATADIR%%/io_2.13-4.13.2.jar +%%DATADIR%%/io_2.13-4.13.8.jar %%DATADIR%%/j2objc-annotations-3.0.0.jar %%DATADIR%%/jline-3.21.0.jar %%DATADIR%%/jna-5.12.1.jar -%%DATADIR%%/jsoup-1.18.3.jar +%%DATADIR%%/jsoup-1.21.1.jar +%%DATADIR%%/jspecify-1.0.0.jar %%DATADIR%%/jsr250-api-1.0.jar %%DATADIR%%/jsr305-3.0.2.jar %%DATADIR%%/jul-to-slf4j-1.7.36.jar -%%DATADIR%%/kotlin-stdlib-1.9.24.jar -%%DATADIR%%/kotlin-stdlib-jdk7-1.9.24.jar -%%DATADIR%%/kotlin-stdlib-jdk8-1.9.24.jar +%%DATADIR%%/kotlin-stdlib-2.2.0.jar +%%DATADIR%%/kotlin-stdlib-jdk7-2.2.0.jar +%%DATADIR%%/kotlin-stdlib-jdk8-2.2.0.jar %%DATADIR%%/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar %%DATADIR%%/mainargs_2.13-0.5.4.jar %%DATADIR%%/nice-xml-messages-3.1.jar %%DATADIR%%/outline-parser_2.13-1.3.0.jar -%%DATADIR%%/parsers_2.13-4.13.2.jar +%%DATADIR%%/parsers_2.13-4.13.8.jar %%DATADIR%%/pcollections-4.0.2.jar -%%DATADIR%%/picocli-4.7.6.jar +%%DATADIR%%/picocli-4.7.7.jar %%DATADIR%%/pmd-ant-%%PORTVERSION%%.jar %%DATADIR%%/pmd-apex-%%PORTVERSION%%.jar %%DATADIR%%/pmd-cli-%%PORTVERSION%%.jar @@ -51,6 +52,7 @@ bin/pmd %%DATADIR%%/pmd-core-%%PORTVERSION%%.jar %%DATADIR%%/pmd-cpp-%%PORTVERSION%%.jar %%DATADIR%%/pmd-cs-%%PORTVERSION%%.jar +%%DATADIR%%/pmd-css-%%PORTVERSION%%.jar %%DATADIR%%/pmd-dart-%%PORTVERSION%%.jar %%DATADIR%%/pmd-designer-7.10.0.jar %%DATADIR%%/pmd-fortran-%%PORTVERSION%%.jar @@ -93,11 +95,11 @@ bin/pmd %%DATADIR%%/scalajs-stubs_2.13-1.0.0.jar %%DATADIR%%/slf4j-api-1.7.36.jar %%DATADIR%%/slf4j-simple-1.7.36.jar -%%DATADIR%%/sobject-types-62.0.1.jar +%%DATADIR%%/sobject-types-63.0.0.jar %%DATADIR%%/sourcecode_2.13-0.4.2.jar -%%DATADIR%%/standard-types-62.0.1.jar +%%DATADIR%%/standard-types-63.0.0.jar %%DATADIR%%/summit-ast-2.4.0.jar -%%DATADIR%%/trees_2.13-4.13.2.jar +%%DATADIR%%/trees_2.13-4.13.8.jar %%DATADIR%%/ujson_2.13-1.2.0.jar %%DATADIR%%/upack_2.13-1.2.0.jar %%DATADIR%%/upickle-core_2.13-1.2.0.jar |