diff --git a/ports/rapidfuzz-cpp/portfile.cmake b/ports/rapidfuzz-cpp/portfile.cmake new file mode 100644 index 0000000000..b1380ec015 --- /dev/null +++ b/ports/rapidfuzz-cpp/portfile.cmake @@ -0,0 +1,21 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO maxbachmann/rapidfuzz-cpp + REF "v${VERSION}" + SHA512 51d3e38ca0ec2592ee5562208180bc11d6e4b4663405d3541768c060e6fef72cb35338a53c03e7411601123e42480b35749fb59530f52dfa99b5ed18d21aa5ec + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup( + PACKAGE_NAME rapidfuzz + CONFIG_PATH lib/cmake/rapidfuzz +) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/rapidfuzz-cpp/vcpkg.json b/ports/rapidfuzz-cpp/vcpkg.json new file mode 100644 index 0000000000..57a9680b8e --- /dev/null +++ b/ports/rapidfuzz-cpp/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "rapidfuzz-cpp", + "version": "3.3.3", + "description": "Rapid fuzzy string matching library for C++ using the Levenshtein Distance.", + "homepage": "https://github.com/maxbachmann/rapidfuzz-cpp", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/ports/rapidfuzz/portfile.cmake b/ports/rapidfuzz/portfile.cmake index 7ebf1510c0..065116c276 100644 --- a/ports/rapidfuzz/portfile.cmake +++ b/ports/rapidfuzz/portfile.cmake @@ -1,18 +1 @@ -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO maxbachmann/rapidfuzz-cpp - REF "v${VERSION}" - SHA512 51d3e38ca0ec2592ee5562208180bc11d6e4b4663405d3541768c060e6fef72cb35338a53c03e7411601123e42480b35749fb59530f52dfa99b5ed18d21aa5ec - HEAD_REF master -) - -vcpkg_cmake_configure( - SOURCE_PATH "${SOURCE_PATH}" -) - -vcpkg_cmake_install() -vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) - -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/") -vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) diff --git a/ports/rapidfuzz/vcpkg.json b/ports/rapidfuzz/vcpkg.json index 37cbd4fc31..9133429c77 100644 --- a/ports/rapidfuzz/vcpkg.json +++ b/ports/rapidfuzz/vcpkg.json @@ -1,17 +1,10 @@ { "name": "rapidfuzz", - "version": "3.3.3", + "version-string": "deprecated", "description": "Rapid fuzzy string matching library for C++ using the Levenshtein Distance.", "homepage": "https://github.com/maxbachmann/rapidfuzz-cpp", "license": "MIT", "dependencies": [ - { - "name": "vcpkg-cmake", - "host": true - }, - { - "name": "vcpkg-cmake-config", - "host": true - } + "rapidfuzz-cpp" ] } diff --git a/versions/baseline.json b/versions/baseline.json index d863cc20a2..d52abe2c55 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8405,6 +8405,10 @@ "port-version": 0 }, "rapidfuzz": { + "baseline": "deprecated", + "port-version": 0 + }, + "rapidfuzz-cpp": { "baseline": "3.3.3", "port-version": 0 }, diff --git a/versions/r-/rapidfuzz-cpp.json b/versions/r-/rapidfuzz-cpp.json new file mode 100644 index 0000000000..6b0da0a295 --- /dev/null +++ b/versions/r-/rapidfuzz-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "114d779da3cba2c67a438f8715d7188502080c1e", + "version": "3.3.3", + "port-version": 0 + } + ] +} diff --git a/versions/r-/rapidfuzz.json b/versions/r-/rapidfuzz.json index 060470e93c..1a105ffa6d 100644 --- a/versions/r-/rapidfuzz.json +++ b/versions/r-/rapidfuzz.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "66ec151d624bc1139fabb9d47d17a259df22d1d5", + "version-string": "deprecated", + "port-version": 0 + }, { "git-tree": "73c7d30319b51bf541018870a77e7ca5a1c183bd", "version": "3.3.3",