aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/hffix/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/hffix/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/hffix/portfile.cmake')
-rw-r--r--vcpkg/ports/hffix/portfile.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/hffix/portfile.cmake b/vcpkg/ports/hffix/portfile.cmake
new file mode 100644
index 0000000..1d4010e
--- /dev/null
+++ b/vcpkg/ports/hffix/portfile.cmake
@@ -0,0 +1,21 @@
+set(VCPKG_BUILD_TYPE release) # header-only port
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO jamesdbrock/hffix
+ REF "v${VERSION}"
+ SHA512 155c0e0bd57d952523343e94b0160baf3b20d366ff8260340d96c2ec4e638c94d192c08b7204303b0fa8610beb5c71046f62fa8b0212b477aaab88e49974cac1
+ HEAD_REF master
+)
+
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/hffix")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")