diff --git a/ports/blingfire/portfile.cmake b/ports/blingfire/portfile.cmake new file mode 100644 index 00000000000000..4a1bb8be8b9821 --- /dev/null +++ b/ports/blingfire/portfile.cmake @@ -0,0 +1,30 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO microsoft/BlingFire + REF 5089d31914cbed7a24589e753bd6cd362a377fbb + SHA512 428fbcd4fa695715c4ca299e314a85adb12bc41ab21eb373aa800d4ccb8755361b87b6c8d64e392922fd9cc334f5353fe638d2c3b1b61ab9d4cfdd94b6c36074 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + WINDOWS_USE_MSBUILD + OPTIONS + ${ADDITIONAL_OPTIONS} + ) + +vcpkg_cmake_install() + +file(GLOB BINS "${SOURCE_PATH}/nuget/lib/*.bin") + +foreach(BIN ${BINS}) + file(INSTALL "${BIN}" DESTINATION "${CURRENT_PACKAGES_DIR}/include") +endforeach() + +vcpkg_copy_pdbs() + +# Handle copyright +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") \ No newline at end of file diff --git a/ports/blingfire/vcpkg.json b/ports/blingfire/vcpkg.json new file mode 100644 index 00000000000000..1a2b531a19b17d --- /dev/null +++ b/ports/blingfire/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "blingfire", + "version": "0.1.8.1", + "description": "BlingFire is a lightning fast Finite State machine and REgular expression manipulation library.", + "license": "MIT", + "supports": "windows & !static & !uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/versions/b-/blingfire.json b/versions/b-/blingfire.json new file mode 100644 index 00000000000000..bb12f4aa7c4ba9 --- /dev/null +++ b/versions/b-/blingfire.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "a03c0185b4cb9b642aec1473ea6856a4fa321da9", + "version": "0.1.8.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index a2bf277438d383..0b3a1714dcc235 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -568,6 +568,10 @@ "baseline": "2022-12-31", "port-version": 1 }, + "blingfire": { + "baseline": "0.1.8.1", + "port-version": 0 + }, "blitz": { "baseline": "2020-03-25", "port-version": 5