mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
devel/libantlr4: update to 4.9 release
This commit is contained in:
parent
319eefa60d
commit
616fb0274d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556332
@ -2,12 +2,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= antlr4
|
||||
PORTVERSION= 4.8
|
||||
PORTVERSION= 4.9
|
||||
DISTVERSIONPREFIX= cpp-runtime-
|
||||
DISTVERSIONSUFFIX= -source
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.antlr.org/download/
|
||||
PKGNAMEPREFIX= lib
|
||||
DISTVERSIONPREFIX= cpp-runtime-
|
||||
DISTVERSIONSUFFIX= -source
|
||||
|
||||
MAINTAINER= fluffy@FreeBSD.org
|
||||
COMMENT= ANother Tool for Language Recognition (C runtime)
|
||||
@ -18,7 +18,7 @@ USES= cmake compiler:c11 zip
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
LIBVERSION= 4.8
|
||||
LIBVERSION= 4.9
|
||||
PLIST_SUB+= LIBVERSION=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1590496259
|
||||
SHA256 (antlr4-cpp-runtime-4.8-source.zip) = 58c9c8f83ed2b2224a047a2ca8af8c7ca2f45bc13ff30bd8777ce65ba81d6d11
|
||||
SIZE (antlr4-cpp-runtime-4.8-source.zip) = 484677
|
||||
TIMESTAMP = 1606384483
|
||||
SHA256 (antlr4-cpp-runtime-4.9-source.zip) = 1055533089015f0837535a0126708678eb1212a80c70f42d8c4ce467d351cb7f
|
||||
SIZE (antlr4-cpp-runtime-4.9-source.zip) = 670109
|
||||
SHA256 (v3.1.1.zip) = b617897aecd29f4964e5b9a88c82bf238de4f6518651704d5eb07f24cbed5bf7
|
||||
SIZE (v3.1.1.zip) = 37070
|
||||
|
34
devel/libantlr4/files/patch-runtime_CMakeLists.txt
Normal file
34
devel/libantlr4/files/patch-runtime_CMakeLists.txt
Normal file
@ -0,0 +1,34 @@
|
||||
--- runtime/CMakeLists.txt.orig 2020-10-10 06:11:48 UTC
|
||||
+++ runtime/CMakeLists.txt
|
||||
@@ -1,19 +1,9 @@
|
||||
|
||||
include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
|
||||
|
||||
-set(THIRDPARTY_DIR ${CMAKE_BINARY_DIR}/runtime/thirdparty)
|
||||
+set(THIRDPARTY_DIR ${PROJECT_SOURCE_DIR}/runtime/thirdparty)
|
||||
set(UTFCPP_DIR ${THIRDPARTY_DIR}/utfcpp)
|
||||
-ExternalProject_Add(
|
||||
- utfcpp
|
||||
- GIT_REPOSITORY "git://github.com/nemtrif/utfcpp"
|
||||
- GIT_TAG "v3.1.1"
|
||||
- SOURCE_DIR ${UTFCPP_DIR}
|
||||
- UPDATE_DISCONNECTED 1
|
||||
- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${UTFCPP_DIR}/install -Dgtest_force_shared_crt=ON
|
||||
- TEST_AFTER_INSTALL 1
|
||||
- STEP_TARGETS build)
|
||||
|
||||
-
|
||||
include_directories(
|
||||
${PROJECT_SOURCE_DIR}/runtime/src
|
||||
${PROJECT_SOURCE_DIR}/runtime/src/atn
|
||||
@@ -23,8 +13,8 @@ include_directories(
|
||||
${PROJECT_SOURCE_DIR}/runtime/src/tree
|
||||
${PROJECT_SOURCE_DIR}/runtime/src/tree/pattern
|
||||
${PROJECT_SOURCE_DIR}/runtime/src/tree/xpath
|
||||
- ${UTFCPP_DIR}/install/include/utf8cpp
|
||||
- ${UTFCPP_DIR}/install/include/utf8cpp/utf8
|
||||
+ ${UTFCPP_DIR}/source/
|
||||
+ ${UTFCPP_DIR}/source/utf8
|
||||
)
|
||||
|
||||
|
@ -155,6 +155,11 @@ include/antlr4-runtime/tree/xpath/XPathTokenAnywhereElement.h
|
||||
include/antlr4-runtime/tree/xpath/XPathTokenElement.h
|
||||
include/antlr4-runtime/tree/xpath/XPathWildcardAnywhereElement.h
|
||||
include/antlr4-runtime/tree/xpath/XPathWildcardElement.h
|
||||
include/antlr4-runtime/utf8.h
|
||||
include/antlr4-runtime/utf8/checked.h
|
||||
include/antlr4-runtime/utf8/core.h
|
||||
include/antlr4-runtime/utf8/cpp11.h
|
||||
include/antlr4-runtime/utf8/unchecked.h
|
||||
lib/libantlr4-runtime.a
|
||||
lib/libantlr4-runtime.so
|
||||
lib/libantlr4-runtime.so.%%LIBVERSION%%
|
||||
|
Loading…
Reference in New Issue
Block a user