Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 11:25:07 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556332 - in head/devel/libantlr4: . files
Message-ID:  <202011261125.0AQBP7DR083815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Thu Nov 26 11:25:06 2020
New Revision: 556332
URL: https://svnweb.freebsd.org/changeset/ports/556332

Log:
  devel/libantlr4: update to 4.9 release

Added:
  head/devel/libantlr4/files/
  head/devel/libantlr4/files/patch-runtime_CMakeLists.txt   (contents, props changed)
Modified:
  head/devel/libantlr4/Makefile
  head/devel/libantlr4/distinfo
  head/devel/libantlr4/pkg-plist

Modified: head/devel/libantlr4/Makefile
==============================================================================
--- head/devel/libantlr4/Makefile	Thu Nov 26 11:24:46 2020	(r556331)
+++ head/devel/libantlr4/Makefile	Thu Nov 26 11:25:06 2020	(r556332)
@@ -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>

Modified: head/devel/libantlr4/distinfo
==============================================================================
--- head/devel/libantlr4/distinfo	Thu Nov 26 11:24:46 2020	(r556331)
+++ head/devel/libantlr4/distinfo	Thu Nov 26 11:25:06 2020	(r556332)
@@ -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

Added: head/devel/libantlr4/files/patch-runtime_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libantlr4/files/patch-runtime_CMakeLists.txt	Thu Nov 26 11:25:06 2020	(r556332)
@@ -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
+ )
+ 
+ 

Modified: head/devel/libantlr4/pkg-plist
==============================================================================
--- head/devel/libantlr4/pkg-plist	Thu Nov 26 11:24:46 2020	(r556331)
+++ head/devel/libantlr4/pkg-plist	Thu Nov 26 11:25:06 2020	(r556332)
@@ -155,6 +155,11 @@ include/antlr4-runtime/tree/xpath/XPathTokenAnywhereEl
 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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011261125.0AQBP7DR083815>