aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-03-25 17:51:25 +0100
committerGitHub <noreply@github.com>2021-03-25 09:51:25 -0700
commit9a49e3df7f729655318c59b9985c9c18ad0c99d6 (patch)
tree9b643ce114160a7e5824090c29fa7b58cfe38072 /ports
parent63cc543890990be9e67aecd7bc5b37dc430bd531 (diff)
downloadvcpkg-9a49e3df7f729655318c59b9985c9c18ad0c99d6.tar.gz
vcpkg-9a49e3df7f729655318c59b9985c9c18ad0c99d6.zip
[fakeit] add new port (#16875)
* [fakeit] add new port * add version files
Diffstat (limited to 'ports')
-rw-r--r--ports/fakeit/portfile.cmake14
-rw-r--r--ports/fakeit/vcpkg.json6
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/fakeit/portfile.cmake b/ports/fakeit/portfile.cmake
new file mode 100644
index 000000000..c65b97f89
--- /dev/null
+++ b/ports/fakeit/portfile.cmake
@@ -0,0 +1,14 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO eranpeer/FakeIt
+ REF 2.0.7
+ SHA512 b718c2283217a643b7b67ba4c141cc8ea4d18835181d261abfe6f09e9be99af755fa482c0fa17def0e99c97dc11bb95b2da390e9a55c9a50a50c4d98c0071168
+ HEAD_REF master
+)
+
+file(
+ COPY ${SOURCE_PATH}/single_header/
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include
+)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/fakeit/vcpkg.json b/ports/fakeit/vcpkg.json
new file mode 100644
index 000000000..a40219682
--- /dev/null
+++ b/ports/fakeit/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "fakeit",
+ "version": "2.0.7",
+ "description": "FakeIt is a simple mocking framework for C++. It supports GCC, Clang and MS Visual C++.",
+ "homepage": "https://github.com/eranpeer/FakeIt"
+}