aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2023-01-18 11:37:27 +0000
committerDima Panov <fluffy@FreeBSD.org>2023-01-18 11:37:27 +0000
commit8bb8c53d57119ae3074115bc2fdcbf4dfb70e4b0 (patch)
tree91a835234faa83a64c4dff1c2c1dd3eef905b1e4
parent6cc0efa491e9e808a76b09819c3193b33055144a (diff)
downloadports-8bb8c53d57119ae3074115bc2fdcbf4dfb70e4b0.tar.gz
ports-8bb8c53d57119ae3074115bc2fdcbf4dfb70e4b0.zip
devel/libantlr4: update to 4.11.1 release (+)
-rw-r--r--devel/libantlr4/Makefile11
-rw-r--r--devel/libantlr4/distinfo6
-rw-r--r--devel/libantlr4/pkg-plist20
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