diff --git a/textproc/toml-f/Makefile b/textproc/toml-f/Makefile index 4ed9e8aec051..51589786152f 100644 --- a/textproc/toml-f/Makefile +++ b/textproc/toml-f/Makefile @@ -1,23 +1,21 @@ PORTNAME= toml-f DISTVERSIONPREFIX= v -DISTVERSION= 0.2.2-4 -PORTREVISION= 1 -DISTVERSIONSUFFIX= -gf066ec6 +DISTVERSION= 0.2.3 CATEGORIES= textproc MAINTAINER= yuri@FreeBSD.org COMMENT= TOML parser for data serialization and deserialization in Fortran LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE-MIT USES= cmake:testing fortran USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS post-patch: # see https://github.com/toml-f/toml-f/issues/51 @${REINPLACE_CMD} -e 's|$${CMAKE_Fortran_COMPILER_ID}-$${CMAKE_Fortran_COMPILER_VERSION}||' ${WRKSRC}/config/CMakeLists.txt .include diff --git a/textproc/toml-f/distinfo b/textproc/toml-f/distinfo index 634724a70af7..3a8f51c8ebe1 100644 --- a/textproc/toml-f/distinfo +++ b/textproc/toml-f/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1642535799 -SHA256 (toml-f-toml-f-v0.2.2-4-gf066ec6_GH0.tar.gz) = a68c70ac2eee3930b4c5b148af5c0bdfbafa1c4af2740bcf6c0d4fc7b6f7f230 -SIZE (toml-f-toml-f-v0.2.2-4-gf066ec6_GH0.tar.gz) = 72749 +TIMESTAMP = 1649822252 +SHA256 (toml-f-toml-f-v0.2.3_GH0.tar.gz) = 679e36daf1be40e187e3488e6aa44e33e27dd426ba1947f816563d20d063e02a +SIZE (toml-f-toml-f-v0.2.3_GH0.tar.gz) = 94058 diff --git a/textproc/toml-f/files/patch-CMakeLists.txt b/textproc/toml-f/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ebbc00455236 --- /dev/null +++ b/textproc/toml-f/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-04-13 04:01:25 UTC ++++ CMakeLists.txt +@@ -89,6 +89,8 @@ install( + ) + + # add the testsuite ++if (FREEBSD_BUILD_TESTS) + enable_testing() + set(fpm-toml "${PROJECT_SOURCE_DIR}/fpm.toml") + add_subdirectory("test") ++endif() diff --git a/textproc/toml-f/pkg-plist b/textproc/toml-f/pkg-plist index ffa9406cc52b..712e767a216c 100644 --- a/textproc/toml-f/pkg-plist +++ b/textproc/toml-f/pkg-plist @@ -1,35 +1,35 @@ include/toml-f/tomlf.mod include/toml-f/tomlf_all.mod include/toml-f/tomlf_build.mod include/toml-f/tomlf_build_array.mod include/toml-f/tomlf_build_keyval.mod include/toml-f/tomlf_build_merge.mod include/toml-f/tomlf_build_table.mod include/toml-f/tomlf_constants.mod include/toml-f/tomlf_datetime.mod include/toml-f/tomlf_de.mod include/toml-f/tomlf_de_character.mod include/toml-f/tomlf_de_tokenizer.mod include/toml-f/tomlf_error.mod include/toml-f/tomlf_ser.mod include/toml-f/tomlf_structure.mod include/toml-f/tomlf_structure_base.mod include/toml-f/tomlf_structure_vector.mod include/toml-f/tomlf_type.mod include/toml-f/tomlf_type_array.mod include/toml-f/tomlf_type_keyval.mod include/toml-f/tomlf_type_table.mod include/toml-f/tomlf_type_value.mod include/toml-f/tomlf_utils.mod include/toml-f/tomlf_utils_convert.mod include/toml-f/tomlf_utils_sort.mod include/toml-f/tomlf_utils_verify.mod include/toml-f/tomlf_version.mod lib/cmake/toml-f/toml-f-config-version.cmake lib/cmake/toml-f/toml-f-config.cmake lib/cmake/toml-f/toml-f-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/toml-f/toml-f-targets.cmake lib/libtoml-f.so lib/libtoml-f.so.0 -lib/libtoml-f.so.0.2.2 +lib/libtoml-f.so.0.2.3 libdata/pkgconfig/toml-f.pc