git: 94173a29f0dd - main - devel/re2c: update to 3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Mar 2023 14:30:08 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=94173a29f0dd1fca025659db1a62bfd3a33e81da commit 94173a29f0dd1fca025659db1a62bfd3a33e81da Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-01-25 05:46:37 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-03-04 14:29:50 +0000 devel/re2c: update to 3.0 Release notes: https://re2c.org/releases/release_notes.html#release-3-0 Approved by: Corey Halpin <chalpin@cs.wisc.edu> (maintainer) PR: 269146 --- devel/re2c/Makefile | 8 +++++--- devel/re2c/distinfo | 6 +++--- devel/re2c/pkg-plist | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 62 insertions(+), 8 deletions(-) diff --git a/devel/re2c/Makefile b/devel/re2c/Makefile index a35ea9a508cf..f84a7c43f7c8 100644 --- a/devel/re2c/Makefile +++ b/devel/re2c/Makefile @@ -1,5 +1,5 @@ PORTNAME= re2c -DISTVERSION= 2.2 +DISTVERSION= 3.0 CATEGORIES= devel MASTER_SITES= https://github.com/skvadrik/${PORTNAME}/releases/download/${DISTVERSION}/ @@ -18,18 +18,20 @@ SHEBANG_FILES= test/posix_captures/.run/__run.sh \ test/posix_captures/.gen/__gen.sh \ test/__run_unicode_tests.sh -OPTIONS_DEFINE= DOCS EXAMPLES LIBRE2C RE2GO -OPTIONS_DEFAULT= RE2GO +OPTIONS_DEFINE= DOCS EXAMPLES LIBRE2C RE2GO RE2RUST +OPTIONS_DEFAULT= RE2GO RE2RUST OPTIONS_SUB= yes LIBRE2C_DESC= Build libre2c (Experimental) RE2GO_DESC= Build RE2GO (identical to re2c --lang go) +RE2RUST_DESC= Build RE2RUST (identical to re2c --lang rust) DOCS_BUILD_DEPENDS= bison:devel/bison \ rst2man:textproc/py-docutils DOCS_CMAKE_BOOL= RE2C_REBUILD_DOCS LIBRE2C_CMAKE_BOOL= RE2C_BUILD_LIBS BUILD_SHARED_LIBS RE2GO_CMAKE_BOOL= RE2C_BUILD_RE2GO +RE2RUST_CMAKE_BOOL= RE2C_BUILD_RE2RUST post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/devel/re2c/distinfo b/devel/re2c/distinfo index 7ef24fc20aff..95170dd48649 100644 --- a/devel/re2c/distinfo +++ b/devel/re2c/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1632787083 -SHA256 (re2c-2.2.tar.xz) = 0fc45e4130a8a555d68e230d1795de0216dfe99096b61b28e67c86dfd7d86bda -SIZE (re2c-2.2.tar.xz) = 1460740 +TIMESTAMP = 1674624469 +SHA256 (re2c-3.0.tar.xz) = b3babbbb1461e13fe22c630a40c43885efcfbbbb585830c6f4c0d791cf82ba0b +SIZE (re2c-3.0.tar.xz) = 1441456 diff --git a/devel/re2c/pkg-plist b/devel/re2c/pkg-plist index cd73cd14cdb1..73ebf2a22313 100644 --- a/devel/re2c/pkg-plist +++ b/devel/re2c/pkg-plist @@ -1,10 +1,12 @@ bin/re2c %%RE2GO%%bin/re2go +%%RE2RUST%%bin/re2rust %%LIBRE2C%%lib/libre2c.so %%PORTDOCS%%%%DOCSDIR%%/help.rst %%PORTDOCS%%%%DOCSDIR%%/help.rst.in %%PORTDOCS%%%%DOCSDIR%%/manpage.rst.in %%PORTDOCS%%%%DOCSDIR%%/manual/api/interface.rst_ +%%PORTDOCS%%%%DOCSDIR%%/manual/conditions/blocks.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/conditions/conditions.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/configurations/configurations.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/directives/directives.rst_ @@ -32,10 +34,13 @@ bin/re2c %%PORTDOCS%%%%DOCSDIR%%/manual/submatch/submatch_example_posix.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/submatch/submatch_example_stags.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/submatch/submatch_example_stags_fill.rst_ +%%PORTDOCS%%%%DOCSDIR%%/manual/synopsis.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/syntax/api1.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/syntax/api2_c.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/syntax/api2_go.rst_ +%%PORTDOCS%%%%DOCSDIR%%/manual/syntax/api2_rust.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/syntax/api3.rst_ +%%PORTDOCS%%%%DOCSDIR%%/manual/syntax/intro.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/syntax/syntax.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/warnings/warnings_general.rst_ %%PORTDOCS%%%%DOCSDIR%%/manual/warnings/warnings_list.rst_ @@ -66,7 +71,7 @@ bin/re2c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/generic_api/ifstream.re %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/headers/header.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/headers/header.re -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/headers/src/lexer/lexer.h +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/headers/lexer/state.h %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/includes/definitions.h %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/includes/extra_rules.re.inc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/includes/include.c @@ -128,7 +133,7 @@ bin/re2c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/fill/02_fill.re %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/headers/header.go %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/headers/header.re -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/headers/src/lexer/lexer.go +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/headers/lexer/state.go %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/includes/definitions.go %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/includes/extra_rules.re.inc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/includes/include.go @@ -147,6 +152,53 @@ bin/re2c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/submatch/02_mtags.re %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/submatch/03_posix.go %%PORTEXAMPLES%%%%EXAMPLESDIR%%/go/submatch/03_posix.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/01_basic.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/01_basic.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/__run_all.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/conditions/parse_u32_blocks.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/conditions/parse_u32_blocks.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/conditions/parse_u32_conditions.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/conditions/parse_u32_conditions.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/encodings/unicode_identifier.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/encodings/unicode_identifier.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/01_sentinel.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/01_sentinel.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/02_bounds_checking.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/02_bounds_checking.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/03_eof_rule.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/03_eof_rule.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/04_generic_api_sentinel.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/04_generic_api_sentinel.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/05_generic_api_eof_rule.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/eof/05_generic_api_eof_rule.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/fill/01_fill.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/fill/01_fill.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/fill/02_fill.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/fill/02_fill.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/headers/header.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/headers/header.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/headers/lexer/mod.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/headers/lexer/state.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/includes/definitions.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/includes/extra_rules.re.inc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/includes/include.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/includes/include.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/real_world/c.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/real_world/c.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/reuse/reuse.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/reuse/reuse.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/reuse/usedir.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/reuse/usedir.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/state/push.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/state/push.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/01_stags.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/01_stags.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/01_stags_fill.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/01_stags_fill.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/02_mtags.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/02_mtags.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/03_posix.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/03_posix.rs share/man/man1/re2c.1.gz %%RE2GO%%share/man/man1/re2go.1.gz %%DATADIR%%/stdlib/unicode_categories.re