aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/plf-list/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/plf-list/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/plf-list/portfile.cmake')
-rw-r--r--vcpkg/ports/plf-list/portfile.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/plf-list/portfile.cmake b/vcpkg/ports/plf-list/portfile.cmake
new file mode 100644
index 0000000..97fd062
--- /dev/null
+++ b/vcpkg/ports/plf-list/portfile.cmake
@@ -0,0 +1,14 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mattreecebentley/plf_list
+ REF 42fcfca9890598d1c1fda45eb9dbe2b2b2d4dd2b
+ SHA512 879157aac16dc1b76db942a8ddf25dc33ede10e769496b7f300a070913c6c6946cb40853dd3071ecf3d9c870e1dee5d420d42fbb388e83361235659171f6bd44
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/plf_list.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# Handle copyright
+configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)