git: 6b4cf064eae2 - 2023Q3 - Mk/bsd.options.desc.mk: sort out TOMCAT options

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 18 Jul 2023 17:49:04 UTC
The branch 2023Q3 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b4cf064eae204ab58a366f17c1d7be764c98f35

commit 6b4cf064eae204ab58a366f17c1d7be764c98f35
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2023-07-18 17:45:19 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2023-07-18 17:48:56 +0000

    Mk/bsd.options.desc.mk: sort out TOMCAT options
    
    1. Removed EOLed tomcat 6, 7 and 8.
    2. Replaced tomcat10 with tomcat101.
    3. Changed TOMCAT*_DESC to more correct.
    
    Approved by:            arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D41054
    MFH:                    2023Q3
    
    (cherry picked from commit b98c2f83e60b77415828b53df653c69e71a58d40)
---
 Mk/bsd.options.desc.mk  |  9 +++------
 devel/opengrok/Makefile | 10 +++++-----
 www/axis2/Makefile      |  9 +++------
 www/madsonic/Makefile   |  1 -
 4 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/Mk/bsd.options.desc.mk b/Mk/bsd.options.desc.mk
index 6c586ca2a04a..abd179370899 100644
--- a/Mk/bsd.options.desc.mk
+++ b/Mk/bsd.options.desc.mk
@@ -498,12 +498,9 @@ TIFF_DESC?=		TIFF image format support
 TINYXML_DESC?=		XML parser support via TinyXML
 TK_DESC?=		Tk GUI toolkit support
 TLS_DESC?=		Secure network connection support via TLS
-TOMCAT6_DESC?=		Tomcat 6.x support
-TOMCAT7_DESC?=		Tomcat 7.x support
-TOMCAT8_DESC?=		Tomcat 8.x support
-TOMCAT85_DESC?=		Tomcat 8.5.x support
-TOMCAT9_DESC?=		Tomcat 9.x support
-TOMCAT10_DESC?=		Tomcat 10.x support
+TOMCAT85_DESC?=		Use Tomcat 8.5.x
+TOMCAT9_DESC?=		Use Tomcat 9.0.x
+TOMCAT101_DESC?=	Use Tomcat 10.1.x
 TOOLAME_DESC?=		TooLAME MP2 audio encoder support
 TREMOR_DESC?=		Tremor audio decoder support
 TTA_DESC?=		TTA lossless audio format support
diff --git a/devel/opengrok/Makefile b/devel/opengrok/Makefile
index 105e64ed9ae3..a34f3014f7ab 100644
--- a/devel/opengrok/Makefile
+++ b/devel/opengrok/Makefile
@@ -39,18 +39,18 @@ PLIST_SUB=	T=${WEBAPP_HOME:S|^${LOCALBASE}/||} \
 
 OPTIONS_DEFINE=		DOCS
 OPTIONS_SINGLE=		AS
-OPTIONS_SINGLE_AS=	GLASSFISH TOMCAT10
-OPTIONS_DEFAULT=	TOMCAT10
+OPTIONS_SINGLE_AS=	GLASSFISH TOMCAT101
+OPTIONS_DEFAULT=	TOMCAT101
 
 GLASSFISH_DESC?=	Glassfish support
 
 GLASSFISH_VARS=	WEBAPP_HOME=${LOCALBASE}/glassfish-5.1.0/glassfish
-TOMCAT10_VARS=	WEBAPP_HOME=${LOCALBASE}/apache-tomcat-10.1
+TOMCAT101_VARS=	WEBAPP_HOME=${LOCALBASE}/apache-tomcat-10.1
 
 GLASSFISH_BUILD_DEPENDS=${WEBAPP_HOME}/modules/glassfish.jar:www/glassfish
 GLASSFISH_RUN_DEPENDS=	${WEBAPP_HOME}/modules/glassfish.jar:www/glassfish
-TOMCAT10_BUILD_DEPENDS=	${WEBAPP_HOME}/bin/bootstrap.jar:www/tomcat101
-TOMCAT10_RUN_DEPENDS=	${WEBAPP_HOME}/bin/bootstrap.jar:www/tomcat101
+TOMCAT101_BUILD_DEPENDS=	${WEBAPP_HOME}/bin/bootstrap.jar:www/tomcat101
+TOMCAT101_RUN_DEPENDS=	${WEBAPP_HOME}/bin/bootstrap.jar:www/tomcat101
 
 WEBAPPS_DIR=	${WEBAPP_HOME:S|^${LOCALBASE}/||}/webapps
 JARFILE=	${LOCALBASE}/${WEBAPPS_DIR}/opengrok/WEB-INF/lib/opengrok-${PORTVERSION}.jar
diff --git a/www/axis2/Makefile b/www/axis2/Makefile
index 6291833ca6ac..765b8c2d1666 100644
--- a/www/axis2/Makefile
+++ b/www/axis2/Makefile
@@ -18,22 +18,19 @@ NO_BUILD=	yes
 NO_ARCH=	yes
 
 OPTIONS_SINGLE=	AS
-OPTIONS_SINGLE_AS=	TOMCAT7 TOMCAT85 TOMCAT9 TOMCAT10
+OPTIONS_SINGLE_AS=	TOMCAT85 TOMCAT9 TOMCAT101
 OPTIONS_DEFAULT=	TOMCAT85
 
 OPTIONS_DEFINE=	EXAMPLES
 
-TOMCAT7_VARS=	APPHOME=${LOCALBASE}/apache-tomcat-7.0
-TOMCAT7_RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat7
-
 TOMCAT85_VARS=	APPHOME=${LOCALBASE}/apache-tomcat-8.5
 TOMCAT85_RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat85
 
 TOMCAT9_VARS=	APPHOME=${LOCALBASE}/apache-tomcat-9.0
 TOMCAT9_RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat9
 
-TOMCAT10_VARS=	APPHOME=${LOCALBASE}/apache-tomcat-10.0
-TOMCAT10_RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat10
+TOMCAT101_VARS=	APPHOME=${LOCALBASE}/apache-tomcat-10.1
+TOMCAT101_RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat101
 
 USE_JAVA=	yes
 SHAREOWN=	www
diff --git a/www/madsonic/Makefile b/www/madsonic/Makefile
index e67b3c6f2cab..544b5bb81d20 100644
--- a/www/madsonic/Makefile
+++ b/www/madsonic/Makefile
@@ -44,7 +44,6 @@ FLAC_DESC=			Depend on FLAC for transcoding
 JETTY8_DESC=			Use Jetty 8.x
 LAME_DESC=			Depend on LAME for MP3 transcoding
 MPC_DESC=			Depend on mpcdec for MPC transcoding
-TOMCAT85_DESC=			Use Tomcat 8.5.x
 TRANSCODING_DESC=		Transcoding support
 VORBIS_DESC=			Depend on oggenc/oggdec for Vorbis transcoding
 XMP_DESC=			Depend on XMP for module file transcoding