diff --git a/devel/re2c/Makefile b/devel/re2c/Makefile index 82e0ce10acea..b9006faddf4b 100644 --- a/devel/re2c/Makefile +++ b/devel/re2c/Makefile @@ -1,11 +1,12 @@ PORTNAME= re2c -DISTVERSION= 4.1 +DISTVERSION= 4.3 CATEGORIES= devel -MASTER_SITES= https://github.com/skvadrik/${PORTNAME}/releases/download/${DISTVERSION}/ +MASTER_SITES= https://github.com/skvadrik/re2c/releases/download/${DISTVERSION}/ -MAINTAINER= chalpin@cs.wisc.edu +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lexer generator for C, C++ and Go with a focus on generating fast code -WWW= https://re2c.org/ +WWW= https://re2c.org/ \ + https://github.com/skvadrik/re2c LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE @@ -14,18 +15,18 @@ TEST_DEPENDS= bash:shells/bash USES= cmake:testing compiler:c++11-lib cpe python:test shebangfix tar:xz -SHEBANG_FILES= test/__run_unicode_tests.sh \ - test/captures/posix/.gen/__gen.sh \ - test/captures/posix/.run/__run.sh - -CMAKE_TESTING_ON= RE2C_BUILD_TESTS -CMAKE_TESTING_TARGET= check CMAKE_OFF= RE2C_REBUILD_DOCS CMAKE_ON= BUILD_SHARED_LIBS \ RE2C_BUILD_LIBS +CMAKE_TESTING_ON= RE2C_BUILD_TESTS +CMAKE_TESTING_TARGET= check + +SHEBANG_FILES= test/__run_unicode_tests.sh \ + test/captures/posix/.gen/__gen.sh \ + test/captures/posix/.run/__run.sh -OPTIONS_DEFINE= EXAMPLES -OPTIONS_SUB= yes +OPTIONS_DEFINE= EXAMPLES +OPTIONS_SUB= yes post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} diff --git a/devel/re2c/distinfo b/devel/re2c/distinfo index 8d4f0a8cb7e5..066bdecdc0ff 100644 --- a/devel/re2c/distinfo +++ b/devel/re2c/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1740323504 -SHA256 (re2c-4.1.tar.xz) = cd7d9bbadb3f04f20da25e20e155655de57beef48e0807266938069f0e322e8b -SIZE (re2c-4.1.tar.xz) = 1812048 +TIMESTAMP = 1758120078 +SHA256 (re2c-4.3.tar.xz) = 51e88d6d6b6ab03eb7970276aca7e0db4f8e29c958b84b561d2fdcb8351c7150 +SIZE (re2c-4.3.tar.xz) = 1844944 diff --git a/devel/re2c/pkg-plist b/devel/re2c/pkg-plist index 262efc0173a3..d9dd10442039 100644 --- a/devel/re2c/pkg-plist +++ b/devel/re2c/pkg-plist @@ -7,6 +7,7 @@ bin/re2js bin/re2ocaml bin/re2py bin/re2rust +bin/re2swift bin/re2v bin/re2zig lib/libre2c.so @@ -430,6 +431,52 @@ lib/libre2c.so %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/03_captures.rs %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/04_posix_captures.re %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rust/submatch/04_posix_captures.rs +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/01_basic.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/01_basic.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/__run_all.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/conditions/parse_u32_blocks.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/conditions/parse_u32_blocks.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/conditions/parse_u32_conditions.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/conditions/parse_u32_conditions.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/encodings/unicode_identifier.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/encodings/unicode_identifier.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/01_sentinel.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/01_sentinel.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/02_bounds_checking.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/02_bounds_checking.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/03_eof_rule.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/03_eof_rule.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/04_fake_sentinel.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/04_fake_sentinel.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/05_fake_sentinel_eof_rule.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/eof/05_fake_sentinel_eof_rule.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/fill/01_fill.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/fill/01_fill.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/fill/02_fill.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/fill/02_fill.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/headers/header.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/headers/header.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/headers/lexer/state.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/includes/definitions.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/includes/extra_rules.re.inc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/includes/include.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/includes/include.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/reuse/reuse.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/reuse/reuse.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/reuse/usedir.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/reuse/usedir.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/state/push.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/state/push.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/01_stags.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/01_stags.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/01_stags_fill.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/01_stags_fill.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/02_mtags.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/02_mtags.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/03_captures.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/03_captures.swift +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/04_posix_captures.re +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/swift/submatch/04_posix_captures.swift %%PORTEXAMPLES%%%%EXAMPLESDIR%%/v/01_basic.re %%PORTEXAMPLES%%%%EXAMPLESDIR%%/v/01_basic.v %%PORTEXAMPLES%%%%EXAMPLESDIR%%/v/__run_all.sh @@ -527,6 +574,7 @@ share/man/man1/re2js.1.gz share/man/man1/re2ocaml.1.gz share/man/man1/re2py.1.gz share/man/man1/re2rust.1.gz +share/man/man1/re2swift.1.gz share/man/man1/re2v.1.gz share/man/man1/re2zig.1.gz %%DATADIR%%/stdlib/c @@ -538,6 +586,7 @@ share/man/man1/re2zig.1.gz %%DATADIR%%/stdlib/ocaml %%DATADIR%%/stdlib/python %%DATADIR%%/stdlib/rust +%%DATADIR%%/stdlib/swift %%DATADIR%%/stdlib/unicode_categories.re %%DATADIR%%/stdlib/v %%DATADIR%%/stdlib/zig