aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/phnt/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/phnt/portfile.cmake')
-rw-r--r--vcpkg/ports/phnt/portfile.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/phnt/portfile.cmake b/vcpkg/ports/phnt/portfile.cmake
new file mode 100644
index 0000000..8846c45
--- /dev/null
+++ b/vcpkg/ports/phnt/portfile.cmake
@@ -0,0 +1,12 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO winsiderss/phnt
+ REF 48759c9b5916a359df706789f71053e49b528a18
+ SHA512 1e0735cc3be3a2679a82f715159d68d9e4b2c52fa754e6166003163ed61ec3faafc8281129d95edf5c035f1e3f4c0a003f66d72a22108f778bf1f187df2bb459
+ HEAD_REF master
+)
+
+file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
+file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)