git: 1be3491735f0 - main - devel/maven-wrapper: massively update port, align with devel/maven

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Thu, 28 Jul 2022 16:11:47 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1be3491735f0f01671d3498d15d4966f26c86b3b

commit 1be3491735f0f01671d3498d15d4966f26c86b3b
Author:     Michael Osipov <michaelo@apache.org>
AuthorDate: 2022-07-28 16:10:53 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-07-28 16:10:53 +0000

    devel/maven-wrapper: massively update port, align with devel/maven
    
    - add missing patch for Makefile
    
    PR: 265028, 265025
---
 devel/maven-wrapper/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/devel/maven-wrapper/Makefile b/devel/maven-wrapper/Makefile
index 2429a79b11db..d7505dce4dd2 100644
--- a/devel/maven-wrapper/Makefile
+++ b/devel/maven-wrapper/Makefile
@@ -1,19 +1,20 @@
 PORTNAME=	maven-wrapper
-PORTVERSION=	1
-PORTREVISION=	2
+PORTVERSION=	2
 CATEGORIES=	devel java
 MASTER_SITES=	# none
 DISTFILES=	# none
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	michaelo@apache.org
 COMMENT=	Wrapper script for the various installations of Maven
 
 NO_BUILD=	yes
 SUB_FILES=	mvn.sh
-SUB_LIST=	CAT=${CAT} FIND=${FIND} TAIL=${TAIL}
+SUB_LIST=	ETCDIR=${ETCDIR} CAT=${CAT} FIND=${FIND} TAIL=${TAIL}
+PLIST_SUB=	ETCDIR=${ETCDIR}
 
 do-install:
-	${MKDIR} "${STAGEDIR}${PREFIX}/etc/maven-wrapper/instances.d"
+	${MKDIR} "${STAGEDIR}${ETCDIR}/instances.d"
 	${INSTALL_SCRIPT} "${WRKDIR}/mvn.sh" "${STAGEDIR}${PREFIX}/bin/mvn"
+	${INSTALL_SCRIPT} "${WRKDIR}/mvn.sh" "${STAGEDIR}${PREFIX}/bin/mvnDebug"
 
 .include <bsd.port.mk>