aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
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"
+}