git: 8bb8c53d5711 - main - devel/libantlr4: update to 4.11.1 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 18 Jan 2023 11:40:16 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8bb8c53d57119ae3074115bc2fdcbf4dfb70e4b0

commit 8bb8c53d57119ae3074115bc2fdcbf4dfb70e4b0
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-01-18 11:37:27 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-01-18 11:37:27 +0000

    devel/libantlr4: update to 4.11.1 release (+)
    
    Changelog:      https://github.com/antlr/antlr4/releases/tag/4.11.1
                    https://github.com/antlr/antlr4/releases/tag/4.11.0
                    https://github.com/antlr/antlr4/releases/tag/4.10.1
                    https://github.com/antlr/antlr4/releases/tag/4.10.0
    
    PR:     268965
---
 devel/libantlr4/Makefile  | 11 +++++++++--
 devel/libantlr4/distinfo  |  6 +++---
 devel/libantlr4/pkg-plist | 20 ++++++++++++++++----
 3 files changed, 28 insertions(+), 9 deletions(-)

diff --git a/devel/libantlr4/Makefile b/devel/libantlr4/Makefile
index 773e68b002c7..a3efeb4f6b63 100644
--- a/devel/libantlr4/Makefile
+++ b/devel/libantlr4/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	antlr4
-PORTVERSION=	4.9.3
+DISTVERSION=	4.11.1
 DISTVERSIONPREFIX=	cpp-runtime-
 DISTVERSIONSUFFIX=	-source
 CATEGORIES=	devel
@@ -14,11 +14,18 @@ LICENSE=	BSD3CLAUSE
 
 BUILD_DEPENDS=	utf8cpp>0:devel/utf8cpp
 
-USES=		cmake compiler:c11 zip
+USES=		cmake:testing compiler:c11 localbase:ldflags zip
+
 NO_WRKSUBDIR=	yes
 
+CMAKE_OFF=	ANTLR_BUILD_CPP_TESTS
+CMAKE_TESTING_ON=	ANTLR_BUILD_CPP_TESTS # tests fail to link, see https://github.com/antlr/antlr4/issues/4074
+
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 LIBVERSION=	${PORTVERSION}
 PLIST_SUB+=	LIBVERSION=${PORTVERSION}
 
+post-install:
+	@${RMDIR} ${STAGEDIR}${PREFIX}/include/antlr4-runtime/.idea
+
 .include <bsd.port.mk>
diff --git a/devel/libantlr4/distinfo b/devel/libantlr4/distinfo
index f3858566ff20..cb184e0c3e47 100644
--- a/devel/libantlr4/distinfo
+++ b/devel/libantlr4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636372293
-SHA256 (antlr4-cpp-runtime-4.9.3-source.zip) = 5f0af6efd81f476c3e775c486eb0a71c25d6bbc14373e88a64690e2738d68e03
-SIZE (antlr4-cpp-runtime-4.9.3-source.zip) = 488286
+TIMESTAMP = 1673750809
+SHA256 (antlr4-cpp-runtime-4.11.1-source.zip) = 8018c335316e61bb768e5bd4a743a9303070af4e1a8577fa902cd053c17249da
+SIZE (antlr4-cpp-runtime-4.11.1-source.zip) = 534105
diff --git a/devel/libantlr4/pkg-plist b/devel/libantlr4/pkg-plist
index 546c579d536e..042fd9f769fb 100644
--- a/devel/libantlr4/pkg-plist
+++ b/devel/libantlr4/pkg-plist
@@ -14,6 +14,8 @@ include/antlr4-runtime/DefaultErrorStrategy.h
 include/antlr4-runtime/DiagnosticErrorListener.h
 include/antlr4-runtime/Exceptions.h
 include/antlr4-runtime/FailedPredicateException.h
+include/antlr4-runtime/FlatHashMap.h
+include/antlr4-runtime/FlatHashSet.h
 include/antlr4-runtime/InputMismatchException.h
 include/antlr4-runtime/IntStream.h
 include/antlr4-runtime/InterpreterRuleContext.h
@@ -38,6 +40,7 @@ include/antlr4-runtime/TokenStream.h
 include/antlr4-runtime/TokenStreamRewriter.h
 include/antlr4-runtime/UnbufferedCharStream.h
 include/antlr4-runtime/UnbufferedTokenStream.h
+include/antlr4-runtime/Version.h
 include/antlr4-runtime/Vocabulary.h
 include/antlr4-runtime/WritableToken.h
 include/antlr4-runtime/antlr4-common.h
@@ -47,11 +50,10 @@ include/antlr4-runtime/atn/ATNConfig.h
 include/antlr4-runtime/atn/ATNConfigSet.h
 include/antlr4-runtime/atn/ATNDeserializationOptions.h
 include/antlr4-runtime/atn/ATNDeserializer.h
-include/antlr4-runtime/atn/ATNSerializer.h
 include/antlr4-runtime/atn/ATNSimulator.h
 include/antlr4-runtime/atn/ATNState.h
+include/antlr4-runtime/atn/ATNStateType.h
 include/antlr4-runtime/atn/ATNType.h
-include/antlr4-runtime/atn/AbstractPredicateTransition.h
 include/antlr4-runtime/atn/ActionTransition.h
 include/antlr4-runtime/atn/AmbiguityInfo.h
 include/antlr4-runtime/atn/ArrayPredictionContext.h
@@ -64,7 +66,6 @@ include/antlr4-runtime/atn/ContextSensitivityInfo.h
 include/antlr4-runtime/atn/DecisionEventInfo.h
 include/antlr4-runtime/atn/DecisionInfo.h
 include/antlr4-runtime/atn/DecisionState.h
-include/antlr4-runtime/atn/EmptyPredictionContext.h
 include/antlr4-runtime/atn/EpsilonTransition.h
 include/antlr4-runtime/atn/ErrorInfo.h
 include/antlr4-runtime/atn/LL1Analyzer.h
@@ -88,12 +89,17 @@ include/antlr4-runtime/atn/NotSetTransition.h
 include/antlr4-runtime/atn/OrderedATNConfigSet.h
 include/antlr4-runtime/atn/ParseInfo.h
 include/antlr4-runtime/atn/ParserATNSimulator.h
+include/antlr4-runtime/atn/ParserATNSimulatorOptions.h
 include/antlr4-runtime/atn/PlusBlockStartState.h
 include/antlr4-runtime/atn/PlusLoopbackState.h
 include/antlr4-runtime/atn/PrecedencePredicateTransition.h
 include/antlr4-runtime/atn/PredicateEvalInfo.h
 include/antlr4-runtime/atn/PredicateTransition.h
 include/antlr4-runtime/atn/PredictionContext.h
+include/antlr4-runtime/atn/PredictionContextCache.h
+include/antlr4-runtime/atn/PredictionContextMergeCache.h
+include/antlr4-runtime/atn/PredictionContextMergeCacheOptions.h
+include/antlr4-runtime/atn/PredictionContextType.h
 include/antlr4-runtime/atn/PredictionMode.h
 include/antlr4-runtime/atn/ProfilingATNSimulator.h
 include/antlr4-runtime/atn/RangeTransition.h
@@ -101,6 +107,8 @@ include/antlr4-runtime/atn/RuleStartState.h
 include/antlr4-runtime/atn/RuleStopState.h
 include/antlr4-runtime/atn/RuleTransition.h
 include/antlr4-runtime/atn/SemanticContext.h
+include/antlr4-runtime/atn/SemanticContextType.h
+include/antlr4-runtime/atn/SerializedATNView.h
 include/antlr4-runtime/atn/SetTransition.h
 include/antlr4-runtime/atn/SingletonPredictionContext.h
 include/antlr4-runtime/atn/StarBlockStartState.h
@@ -108,11 +116,13 @@ include/antlr4-runtime/atn/StarLoopEntryState.h
 include/antlr4-runtime/atn/StarLoopbackState.h
 include/antlr4-runtime/atn/TokensStartState.h
 include/antlr4-runtime/atn/Transition.h
+include/antlr4-runtime/atn/TransitionType.h
 include/antlr4-runtime/atn/WildcardTransition.h
 include/antlr4-runtime/dfa/DFA.h
 include/antlr4-runtime/dfa/DFASerializer.h
 include/antlr4-runtime/dfa/DFAState.h
 include/antlr4-runtime/dfa/LexerDFASerializer.h
+include/antlr4-runtime/internal/Synchronization.h
 include/antlr4-runtime/misc/InterpreterDataReader.h
 include/antlr4-runtime/misc/Interval.h
 include/antlr4-runtime/misc/IntervalSet.h
@@ -124,8 +134,9 @@ include/antlr4-runtime/support/BitSet.h
 include/antlr4-runtime/support/CPPUtils.h
 include/antlr4-runtime/support/Casts.h
 include/antlr4-runtime/support/Declarations.h
-include/antlr4-runtime/support/Guid.h
 include/antlr4-runtime/support/StringUtils.h
+include/antlr4-runtime/support/Unicode.h
+include/antlr4-runtime/support/Utf8.h
 include/antlr4-runtime/tree/AbstractParseTreeVisitor.h
 include/antlr4-runtime/tree/ErrorNode.h
 include/antlr4-runtime/tree/ErrorNodeImpl.h
@@ -133,6 +144,7 @@ include/antlr4-runtime/tree/IterativeParseTreeWalker.h
 include/antlr4-runtime/tree/ParseTree.h
 include/antlr4-runtime/tree/ParseTreeListener.h
 include/antlr4-runtime/tree/ParseTreeProperty.h
+include/antlr4-runtime/tree/ParseTreeType.h
 include/antlr4-runtime/tree/ParseTreeVisitor.h
 include/antlr4-runtime/tree/ParseTreeWalker.h
 include/antlr4-runtime/tree/TerminalNode.h