aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/physac/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/physac/portfile.cmake')
-rw-r--r--vcpkg/ports/physac/portfile.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/physac/portfile.cmake b/vcpkg/ports/physac/portfile.cmake
new file mode 100644
index 0000000..3d9fc5e
--- /dev/null
+++ b/vcpkg/ports/physac/portfile.cmake
@@ -0,0 +1,14 @@
+#header-only library
+set(VCPKG_BUILD_TYPE release)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO victorfisac/Physac
+ REF "${VERSION}"
+ SHA512 c539ee73d6f456e592d4a92cc5707278476632626b0fa0edfe6396cd4460fe0c2669843f4df3a22a132664d1981d261601061cca76ad1e4b63510a901fc3987b
+ HEAD_REF master
+)
+
+file(INSTALL "${SOURCE_PATH}/src/physac.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${CMAKE_CURRENT_LIST_DIR}/LICENSE")