aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/makeid/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/makeid/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/makeid/portfile.cmake')
-rw-r--r--vcpkg/ports/makeid/portfile.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/makeid/portfile.cmake b/vcpkg/ports/makeid/portfile.cmake
new file mode 100644
index 0000000..67c7509
--- /dev/null
+++ b/vcpkg/ports/makeid/portfile.cmake
@@ -0,0 +1,17 @@
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://www.humus.name/3D/MakeID.h"
+ FILENAME "MakeID.h-${VERSION}"
+ SHA512 fd4222d2cc0b0e16b0cfbac048cb64ac59d53ede10ab7f88f710e4b866cb67ffb0ec139821c181f1804a813cc9ab20cf33282c8b73e9ef0fdba414be474c2b64
+)
+
+file(INSTALL "${ARCHIVE}" DESTINATION "${CURRENT_PACKAGES_DIR}/include" RENAME "MakeID.h")
+
+set(license_text
+"Public Domain
+
+This file is released in the hopes that it will be useful. Use in whatever way you like, but no guarantees that it
+actually works or fits any particular purpose. It has been unit-tested and benchmarked though, and seems to do
+what it was designed to do, and seems pretty quick at it too."
+)
+
+file(WRITE "${CURRENT_PACKAGES_DIR}/share/makeid/copyright" "${license_text}")