diff --git a/devel/pmd/Makefile b/devel/pmd/Makefile index 1c231d0a3f37..b2e0b295a882 100644 --- a/devel/pmd/Makefile +++ b/devel/pmd/Makefile @@ -1,36 +1,36 @@ PORTNAME= pmd DISTVERSION= 7.3.0 CATEGORIES= devel java MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}_releases/${DISTVERSION}/ DISTNAME= ${PORTNAME}-dist-${DISTVERSION}-bin MAINTAINER= tiago.gasiba@gmail.com COMMENT= Static analysis tool for Java source code WWW= https://pmd.github.io/ LICENSE= APACHE20 BSD4CLAUSE LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe zip CPE_VENDOR= pmd_project USE_JAVA= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-bin-${DISTVERSION} -PLIST_SUB+= PORTVERSION=${DISTVERSION} +PLIST_SUB+= ETCDIR=${ETCDIR} PORTVERSION=${DISTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/bin/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} + ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/conf/simplelogger.properties \ - ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/simplelogger.properties.sample + ${STAGEDIR}${ETCDIR}/simplelogger.properties.sample cd ${WRKSRC} && ${COPYTREE_SHARE} sbom ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} .include diff --git a/devel/pmd/pkg-plist b/devel/pmd/pkg-plist index 85ea13ce75ff..e61a7953712f 100644 --- a/devel/pmd/pkg-plist +++ b/devel/pmd/pkg-plist @@ -1,109 +1,109 @@ bin/pmd -@sample etc/pmd/simplelogger.properties.sample +@sample %%ETCDIR%%/simplelogger.properties.sample %%DATADIR%%/Saxon-HE-12.4.jar %%DATADIR%%/antlr4-runtime-4.9.3.jar %%DATADIR%%/apex-ls_2.13-5.2.0.jar %%DATADIR%%/apex-parser-4.1.0.jar %%DATADIR%%/apex-types_2.13-1.3.0.jar %%DATADIR%%/asm-9.6.jar %%DATADIR%%/better-files_2.13-3.9.2.jar %%DATADIR%%/checker-compat-qual-2.5.3.jar %%DATADIR%%/checker-qual-2.11.1.jar %%DATADIR%%/common_2.13-4.9.1.jar %%DATADIR%%/commons-codec-1.15.jar %%DATADIR%%/commons-lang3-3.14.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.23.0.jar %%DATADIR%%/failureaccess-1.0.2.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.19.jar %%DATADIR%%/gson-2.10.1.jar %%DATADIR%%/gson-extras-1.3.0.jar %%DATADIR%%/guava-33.0.0-jre.jar %%DATADIR%%/httpclient5-5.1.3.jar %%DATADIR%%/httpcore5-5.1.3.jar %%DATADIR%%/httpcore5-h2-5.1.3.jar %%DATADIR%%/j2objc-annotations-2.8.jar %%DATADIR%%/jline-3.21.0.jar %%DATADIR%%/jna-5.12.1.jar %%DATADIR%%/jsoup-1.17.2.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%%/lenses_2.13-0.11.15.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.9.1.jar %%DATADIR%%/pcollections-3.2.0.jar %%DATADIR%%/picocli-4.7.5.jar %%DATADIR%%/pmd-ant-%%PORTVERSION%%.jar %%DATADIR%%/pmd-apex-%%PORTVERSION%%.jar %%DATADIR%%/pmd-cli-%%PORTVERSION%%.jar %%DATADIR%%/pmd-coco-%%PORTVERSION%%.jar %%DATADIR%%/pmd-core-%%PORTVERSION%%.jar %%DATADIR%%/pmd-cpp-%%PORTVERSION%%.jar %%DATADIR%%/pmd-cs-%%PORTVERSION%%.jar %%DATADIR%%/pmd-dart-%%PORTVERSION%%.jar %%DATADIR%%/pmd-designer-7.2.0.jar %%DATADIR%%/pmd-fortran-%%PORTVERSION%%.jar %%DATADIR%%/pmd-gherkin-%%PORTVERSION%%.jar %%DATADIR%%/pmd-go-%%PORTVERSION%%.jar %%DATADIR%%/pmd-groovy-%%PORTVERSION%%.jar %%DATADIR%%/pmd-html-%%PORTVERSION%%.jar %%DATADIR%%/pmd-java-%%PORTVERSION%%.jar %%DATADIR%%/pmd-javascript-%%PORTVERSION%%.jar %%DATADIR%%/pmd-jsp-%%PORTVERSION%%.jar %%DATADIR%%/pmd-julia-%%PORTVERSION%%.jar %%DATADIR%%/pmd-kotlin-%%PORTVERSION%%.jar %%DATADIR%%/pmd-lua-%%PORTVERSION%%.jar %%DATADIR%%/pmd-matlab-%%PORTVERSION%%.jar %%DATADIR%%/pmd-modelica-%%PORTVERSION%%.jar %%DATADIR%%/pmd-objectivec-%%PORTVERSION%%.jar %%DATADIR%%/pmd-perl-%%PORTVERSION%%.jar %%DATADIR%%/pmd-php-%%PORTVERSION%%.jar %%DATADIR%%/pmd-plsql-%%PORTVERSION%%.jar %%DATADIR%%/pmd-python-%%PORTVERSION%%.jar %%DATADIR%%/pmd-ruby-%%PORTVERSION%%.jar %%DATADIR%%/pmd-scala_2.13-%%PORTVERSION%%.jar %%DATADIR%%/pmd-swift-%%PORTVERSION%%.jar %%DATADIR%%/pmd-tsql-%%PORTVERSION%%.jar %%DATADIR%%/pmd-velocity-%%PORTVERSION%%.jar %%DATADIR%%/pmd-visualforce-%%PORTVERSION%%.jar %%DATADIR%%/pmd-xml-%%PORTVERSION%%.jar %%DATADIR%%/progressbar-0.9.5.jar %%DATADIR%%/protobuf-java-3.25.3.jar %%DATADIR%%/rhino-1.7.14.jar %%DATADIR%%/sbom/pmd-%%PORTVERSION%%-cyclonedx.json %%DATADIR%%/sbom/pmd-%%PORTVERSION%%-cyclonedx.xml %%DATADIR%%/scala-collection-compat_2.13-2.8.1.jar %%DATADIR%%/scala-json-rpc-upickle-json-serializer_2.13-1.1.0.jar %%DATADIR%%/scala-json-rpc_2.13-1.1.0.jar %%DATADIR%%/scala-library-2.13.13.jar %%DATADIR%%/scala-parallel-collections_2.13-1.0.0.jar %%DATADIR%%/scala-reflect-2.13.13.jar %%DATADIR%%/scala-xml_2.13-1.3.0.jar %%DATADIR%%/scalajs-stubs_2.13-1.0.0.jar %%DATADIR%%/scalapb-runtime_2.13-0.11.15.jar %%DATADIR%%/slf4j-api-1.7.36.jar %%DATADIR%%/slf4j-simple-1.7.36.jar %%DATADIR%%/sobject-types-60.0.1.jar %%DATADIR%%/sourcecode_2.13-0.3.1.jar %%DATADIR%%/standard-types-60.0.1.jar %%DATADIR%%/summit-ast-2.3.0.jar %%DATADIR%%/trees_2.13-4.9.1.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 %%DATADIR%%/upickle-implicits_2.13-1.2.0.jar %%DATADIR%%/upickle_2.13-1.2.0.jar %%DATADIR%%/vf-parser-1.1.0.jar %%DATADIR%%/xmlresolver-5.2.2-data.jar %%DATADIR%%/xmlresolver-5.2.2.jar