Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 04:05:43 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518701 - in head/devel: . pegtl pegtl/files
Message-ID:  <201911300405.xAU45hl0085183@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Nov 30 04:05:42 2019
New Revision: 518701
URL: https://svnweb.freebsd.org/changeset/ports/518701

Log:
  New port: devel/pegtl: Parsing Expression Grammar Template Library

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Nov 30 03:33:06 2019	(r518700)
+++ head/devel/Makefile	Sat Nov 30 04:05:42 2019	(r518701)
@@ -3886,6 +3886,7 @@
     SUBDIR += pecl-yac
     SUBDIR += pecl-yaconf
     SUBDIR += pecl-zookeeper
+    SUBDIR += pegtl
     SUBDIR += pep8
     SUBDIR += performance
     SUBDIR += perlconsole

Added: head/devel/pegtl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pegtl/Makefile	Sat Nov 30 04:05:42 2019	(r518701)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	pegtl
+DISTVERSION=	2.8.1
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Parsing Expression Grammar Template Library
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	taocpp
+GH_PROJECT=	PEGTL
+
+CMAKE_OFF=	PEGTL_BUILD_TESTS PEGTL_BUILD_EXAMPLES
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+do-test: # one test case fails: https://github.com/taocpp/PEGTL/issues/189
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DPEGTL_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+
+.include <bsd.port.mk>

Added: head/devel/pegtl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pegtl/distinfo	Sat Nov 30 04:05:42 2019	(r518701)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1575085962
+SHA256 (taocpp-PEGTL-2.8.1_GH0.tar.gz) = d23f81a60896cdd8c2ce0d1b31737fe0e1137915ba3fdb4f366ae1a997a1bce6
+SIZE (taocpp-PEGTL-2.8.1_GH0.tar.gz) = 206299

Added: head/devel/pegtl/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pegtl/files/patch-CMakeLists.txt	Sat Nov 30 04:05:42 2019	(r518701)
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2019-11-30 03:55:12 UTC
++++ CMakeLists.txt
+@@ -78,4 +78,4 @@ install(EXPORT pegtl-targets
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pegtl-config-version.cmake DESTINATION ${PEGTL_INSTALL_CMAKE_DIR})
+ install(DIRECTORY include/ DESTINATION ${PEGTL_INSTALL_INCLUDE_DIR})
+-install(FILES LICENSE DESTINATION ${PEGTL_INSTALL_DOC_DIR})
++#install(FILES LICENSE DESTINATION ${PEGTL_INSTALL_DOC_DIR})

Added: head/devel/pegtl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pegtl/pkg-descr	Sat Nov 30 04:05:42 2019	(r518701)
@@ -0,0 +1,5 @@
+The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency C++
+header-only parser combinator library for creating parsers according to a
+Parsing Expression Grammar (PEG).
+
+WWW: https://github.com/taocpp/PEGTL

Added: head/devel/pegtl/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pegtl/pkg-plist	Sat Nov 30 04:05:42 2019	(r518701)
@@ -0,0 +1,181 @@
+include/tao/pegtl.hpp
+include/tao/pegtl/analysis/analyze_cycles.hpp
+include/tao/pegtl/analysis/counted.hpp
+include/tao/pegtl/analysis/generic.hpp
+include/tao/pegtl/analysis/grammar_info.hpp
+include/tao/pegtl/analysis/insert_guard.hpp
+include/tao/pegtl/analysis/insert_rules.hpp
+include/tao/pegtl/analysis/rule_info.hpp
+include/tao/pegtl/analysis/rule_type.hpp
+include/tao/pegtl/analyze.hpp
+include/tao/pegtl/apply_mode.hpp
+include/tao/pegtl/argv_input.hpp
+include/tao/pegtl/ascii.hpp
+include/tao/pegtl/buffer_input.hpp
+include/tao/pegtl/change_action.hpp
+include/tao/pegtl/change_action_and_state.hpp
+include/tao/pegtl/change_action_and_states.hpp
+include/tao/pegtl/change_control.hpp
+include/tao/pegtl/change_state.hpp
+include/tao/pegtl/change_states.hpp
+include/tao/pegtl/config.hpp
+include/tao/pegtl/contrib/abnf.hpp
+include/tao/pegtl/contrib/alphabet.hpp
+include/tao/pegtl/contrib/changes.hpp
+include/tao/pegtl/contrib/counter.hpp
+include/tao/pegtl/contrib/http.hpp
+include/tao/pegtl/contrib/icu/internal.hpp
+include/tao/pegtl/contrib/icu/utf16.hpp
+include/tao/pegtl/contrib/icu/utf32.hpp
+include/tao/pegtl/contrib/icu/utf8.hpp
+include/tao/pegtl/contrib/if_then.hpp
+include/tao/pegtl/contrib/integer.hpp
+include/tao/pegtl/contrib/json.hpp
+include/tao/pegtl/contrib/json_pointer.hpp
+include/tao/pegtl/contrib/parse_tree.hpp
+include/tao/pegtl/contrib/parse_tree_to_dot.hpp
+include/tao/pegtl/contrib/raw_string.hpp
+include/tao/pegtl/contrib/remove_first_state.hpp
+include/tao/pegtl/contrib/rep_one_min_max.hpp
+include/tao/pegtl/contrib/rep_string.hpp
+include/tao/pegtl/contrib/to_string.hpp
+include/tao/pegtl/contrib/tracer.hpp
+include/tao/pegtl/contrib/unescape.hpp
+include/tao/pegtl/contrib/uri.hpp
+include/tao/pegtl/cstream_input.hpp
+include/tao/pegtl/disable_action.hpp
+include/tao/pegtl/discard_input.hpp
+include/tao/pegtl/discard_input_on_failure.hpp
+include/tao/pegtl/discard_input_on_success.hpp
+include/tao/pegtl/enable_action.hpp
+include/tao/pegtl/eol.hpp
+include/tao/pegtl/eol_pair.hpp
+include/tao/pegtl/file_input.hpp
+include/tao/pegtl/input_error.hpp
+include/tao/pegtl/internal/action.hpp
+include/tao/pegtl/internal/action_input.hpp
+include/tao/pegtl/internal/alnum.hpp
+include/tao/pegtl/internal/alpha.hpp
+include/tao/pegtl/internal/always_false.hpp
+include/tao/pegtl/internal/any.hpp
+include/tao/pegtl/internal/apply.hpp
+include/tao/pegtl/internal/apply0.hpp
+include/tao/pegtl/internal/apply0_single.hpp
+include/tao/pegtl/internal/apply_single.hpp
+include/tao/pegtl/internal/at.hpp
+include/tao/pegtl/internal/bof.hpp
+include/tao/pegtl/internal/bol.hpp
+include/tao/pegtl/internal/bump.hpp
+include/tao/pegtl/internal/bump_help.hpp
+include/tao/pegtl/internal/bytes.hpp
+include/tao/pegtl/internal/control.hpp
+include/tao/pegtl/internal/cr_crlf_eol.hpp
+include/tao/pegtl/internal/cr_eol.hpp
+include/tao/pegtl/internal/crlf_eol.hpp
+include/tao/pegtl/internal/cstream_reader.hpp
+include/tao/pegtl/internal/cstring_reader.hpp
+include/tao/pegtl/internal/demangle.hpp
+include/tao/pegtl/internal/demangle_cxxabi.hpp
+include/tao/pegtl/internal/demangle_nop.hpp
+include/tao/pegtl/internal/demangle_sanitise.hpp
+include/tao/pegtl/internal/disable.hpp
+include/tao/pegtl/internal/discard.hpp
+include/tao/pegtl/internal/dusel_mode.hpp
+include/tao/pegtl/internal/duseltronik.hpp
+include/tao/pegtl/internal/enable.hpp
+include/tao/pegtl/internal/endian.hpp
+include/tao/pegtl/internal/endian_gcc.hpp
+include/tao/pegtl/internal/endian_win.hpp
+include/tao/pegtl/internal/eof.hpp
+include/tao/pegtl/internal/eol.hpp
+include/tao/pegtl/internal/eolf.hpp
+include/tao/pegtl/internal/file_mapper_posix.hpp
+include/tao/pegtl/internal/file_mapper_win32.hpp
+include/tao/pegtl/internal/file_opener.hpp
+include/tao/pegtl/internal/file_reader.hpp
+include/tao/pegtl/internal/has_apply.hpp
+include/tao/pegtl/internal/has_apply0.hpp
+include/tao/pegtl/internal/has_match.hpp
+include/tao/pegtl/internal/identifier.hpp
+include/tao/pegtl/internal/if_apply.hpp
+include/tao/pegtl/internal/if_missing.hpp
+include/tao/pegtl/internal/if_must.hpp
+include/tao/pegtl/internal/if_must_else.hpp
+include/tao/pegtl/internal/if_then_else.hpp
+include/tao/pegtl/internal/input_pair.hpp
+include/tao/pegtl/internal/integer_sequence.hpp
+include/tao/pegtl/internal/istream_reader.hpp
+include/tao/pegtl/internal/istring.hpp
+include/tao/pegtl/internal/iterator.hpp
+include/tao/pegtl/internal/lf_crlf_eol.hpp
+include/tao/pegtl/internal/lf_eol.hpp
+include/tao/pegtl/internal/list.hpp
+include/tao/pegtl/internal/list_must.hpp
+include/tao/pegtl/internal/list_tail.hpp
+include/tao/pegtl/internal/list_tail_pad.hpp
+include/tao/pegtl/internal/marker.hpp
+include/tao/pegtl/internal/must.hpp
+include/tao/pegtl/internal/not_at.hpp
+include/tao/pegtl/internal/one.hpp
+include/tao/pegtl/internal/opt.hpp
+include/tao/pegtl/internal/pad.hpp
+include/tao/pegtl/internal/pad_opt.hpp
+include/tao/pegtl/internal/peek_char.hpp
+include/tao/pegtl/internal/peek_mask_uint.hpp
+include/tao/pegtl/internal/peek_mask_uint8.hpp
+include/tao/pegtl/internal/peek_uint.hpp
+include/tao/pegtl/internal/peek_uint8.hpp
+include/tao/pegtl/internal/peek_utf16.hpp
+include/tao/pegtl/internal/peek_utf32.hpp
+include/tao/pegtl/internal/peek_utf8.hpp
+include/tao/pegtl/internal/pegtl_string.hpp
+include/tao/pegtl/internal/plus.hpp
+include/tao/pegtl/internal/raise.hpp
+include/tao/pegtl/internal/range.hpp
+include/tao/pegtl/internal/ranges.hpp
+include/tao/pegtl/internal/read_uint.hpp
+include/tao/pegtl/internal/rematch.hpp
+include/tao/pegtl/internal/rep.hpp
+include/tao/pegtl/internal/rep_min.hpp
+include/tao/pegtl/internal/rep_min_max.hpp
+include/tao/pegtl/internal/rep_opt.hpp
+include/tao/pegtl/internal/require.hpp
+include/tao/pegtl/internal/result_on_found.hpp
+include/tao/pegtl/internal/rule_conjunction.hpp
+include/tao/pegtl/internal/rules.hpp
+include/tao/pegtl/internal/seq.hpp
+include/tao/pegtl/internal/skip_control.hpp
+include/tao/pegtl/internal/sor.hpp
+include/tao/pegtl/internal/star.hpp
+include/tao/pegtl/internal/star_must.hpp
+include/tao/pegtl/internal/state.hpp
+include/tao/pegtl/internal/string.hpp
+include/tao/pegtl/internal/trivial.hpp
+include/tao/pegtl/internal/try_catch_type.hpp
+include/tao/pegtl/internal/until.hpp
+include/tao/pegtl/istream_input.hpp
+include/tao/pegtl/match.hpp
+include/tao/pegtl/memory_input.hpp
+include/tao/pegtl/mmap_input.hpp
+include/tao/pegtl/normal.hpp
+include/tao/pegtl/nothing.hpp
+include/tao/pegtl/parse.hpp
+include/tao/pegtl/parse_error.hpp
+include/tao/pegtl/position.hpp
+include/tao/pegtl/read_input.hpp
+include/tao/pegtl/require_apply.hpp
+include/tao/pegtl/require_apply0.hpp
+include/tao/pegtl/rewind_mode.hpp
+include/tao/pegtl/rules.hpp
+include/tao/pegtl/string_input.hpp
+include/tao/pegtl/tracking_mode.hpp
+include/tao/pegtl/uint16.hpp
+include/tao/pegtl/uint32.hpp
+include/tao/pegtl/uint64.hpp
+include/tao/pegtl/uint8.hpp
+include/tao/pegtl/utf16.hpp
+include/tao/pegtl/utf32.hpp
+include/tao/pegtl/utf8.hpp
+include/tao/pegtl/version.hpp
+%%DATADIR%%/cmake/pegtl-config-version.cmake
+%%DATADIR%%/cmake/pegtl-config.cmake



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