devel/maven-wrapper: massively update port, align with devel/maven

- add missing patch for Makefile

PR: 265028, 265025
This commit is contained in:
Michael Osipov 2022-07-28 18:10:53 +02:00 committed by Kurt Jaeger
parent 8e3047d115
commit 1be3491735

View file

@ -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>