From 5a499da390b21f0bd91163c13252fafd93cfc2a8 Mon Sep 17 00:00:00 2001 From: Nick D'Ademo Date: Thu, 7 Dec 2023 06:45:06 +0800 Subject: [PATCH] [fakeit] fix header files copy (#35527) --- ports/fakeit/portfile.cmake | 4 ++-- ports/fakeit/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/f-/fakeit.json | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/fakeit/portfile.cmake b/ports/fakeit/portfile.cmake index 596a641059..338d822c65 100644 --- a/ports/fakeit/portfile.cmake +++ b/ports/fakeit/portfile.cmake @@ -6,6 +6,6 @@ vcpkg_from_github( HEAD_REF master ) -file(COPY "${SOURCE_PATH}/single_header/" DESTINATION "${CURRENT_PACKAGES_DIR}/include") +file(COPY "${SOURCE_PATH}/single_header/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}" FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h") -file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/fakeit/vcpkg.json b/ports/fakeit/vcpkg.json index 066ce9a950..d608d24632 100644 --- a/ports/fakeit/vcpkg.json +++ b/ports/fakeit/vcpkg.json @@ -1,6 +1,7 @@ { "name": "fakeit", "version": "2.4.0", + "port-version": 1, "description": "FakeIt is a simple mocking framework for C++. It supports GCC, Clang and MS Visual C++.", "homepage": "https://github.com/eranpeer/FakeIt", "license": "MIT" diff --git a/versions/baseline.json b/versions/baseline.json index 24f0eebb24..33fcd8e8d2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2526,7 +2526,7 @@ }, "fakeit": { "baseline": "2.4.0", - "port-version": 0 + "port-version": 1 }, "fameta-counter": { "baseline": "2021-02-13", diff --git a/versions/f-/fakeit.json b/versions/f-/fakeit.json index 86fac0f393..c3cc2b42a3 100644 --- a/versions/f-/fakeit.json +++ b/versions/f-/fakeit.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4975f837bbd496c621a2b6cd11fc6745357c61c5", + "version": "2.4.0", + "port-version": 1 + }, { "git-tree": "a226f1d679f9c3acf8c67d69d24086e236b67a29", "version": "2.4.0",