git: 53931427689f - main - security/owasp-dependency-check: Unbreak

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 23 Dec 2023 19:03:49 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=53931427689f284173e57ce1f7a76627820f8e29

commit 53931427689f284173e57ce1f7a76627820f8e29
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-23 12:17:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-23 19:03:38 +0000

    security/owasp-dependency-check: Unbreak
    
    - Pet portclippy
---
 security/owasp-dependency-check/Makefile  | 13 +++++++------
 security/owasp-dependency-check/pkg-descr |  4 ----
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/security/owasp-dependency-check/Makefile b/security/owasp-dependency-check/Makefile
index d2fdf3968265..0573d6cf24fb 100644
--- a/security/owasp-dependency-check/Makefile
+++ b/security/owasp-dependency-check/Makefile
@@ -4,36 +4,37 @@
 
 PORTNAME=	owasp-dependency-check
 PORTVERSION=	3.1.1
-PORTREVISION=	1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security java
 MASTER_SITES=	LOCAL/pi/:source2
 DISTFILES+=	owasp-dependency-check-${PORTVERSION}-maven-repository.tar.gz:source2
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Detects publicly disclosed vulnerabilities in project dependencies
-WWW=		https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html
+WWW=		https://jeremylong.github.io/DependencyCheck \
+		https://www.owasp.org/index.php/OWASP_Dependency_Check \
+		https://jeremylong.github.io/DependencyCheck/dependency-check-cli/
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	${LOCALBASE}/share/java/maven/bin/mvn:devel/maven
+BUILD_DEPENDS=	mvn:devel/maven
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	jeremylong
 GH_PROJECT=	DependencyCheck
-
 USE_JAVA=	yes
 
 NO_ARCH=	yes
-
 SUB_FILES=	owasp-dependency-check
 SUB_LIST=	PORTVERSION=${PORTVERSION}
+
 PLIST_DIRS=	/var/cache/owasp-dependency-check
 PLIST_FILES=	bin/owasp-dependency-check \
 		${JAVAJARDIR}/owasp-dependency-check-${PORTVERSION}-jar-with-dependencies.jar
 
 do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/share/java/maven/bin/mvn \
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mvn \
 		--batch-mode -Dmaven.repo.local=${WRKDIR}/repository -DskipTests --offline package
 
 do-install:
diff --git a/security/owasp-dependency-check/pkg-descr b/security/owasp-dependency-check/pkg-descr
index 54282659a231..8be124460473 100644
--- a/security/owasp-dependency-check/pkg-descr
+++ b/security/owasp-dependency-check/pkg-descr
@@ -3,7 +3,3 @@ vulnerabilities contained within project dependencies. It does this by
 determining if there is a Common Platform Enumeration (CPE) identifier
 for a given dependency. If found, it will generate a report linking to
 the associated CVE entries.
-
-See also: https://github.com/jeremylong/DependencyCheck
-See also: https://www.owasp.org/index.php/OWASP_Dependency_Check
-See also: https://jeremylong.github.io/DependencyCheck/dependency-check-cli/