aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/delaunator-cpp
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/delaunator-cpp
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/delaunator-cpp')
-rw-r--r--vcpkg/ports/delaunator-cpp/portfile.cmake16
-rw-r--r--vcpkg/ports/delaunator-cpp/vcpkg.json7
2 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/delaunator-cpp/portfile.cmake b/vcpkg/ports/delaunator-cpp/portfile.cmake
new file mode 100644
index 0000000..257502a
--- /dev/null
+++ b/vcpkg/ports/delaunator-cpp/portfile.cmake
@@ -0,0 +1,16 @@
+# header-only library
+set(VCPKG_BUILD_TYPE release)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO abellgithub/delaunator-cpp
+ REF "v${VERSION}"
+ SHA512 14831b2b86e4a53b7da702d551d93ce555c639721bd5d84733c0bf994e71885d0af5963b8033e278dafa73f59996da4eee03fcd19e78206f0dbcf66077875d8b
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/include/delaunator-header-only.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+file(COPY "${SOURCE_PATH}/include/delaunator.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+file(COPY "${SOURCE_PATH}/include/delaunator.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/delaunator-cpp/vcpkg.json b/vcpkg/ports/delaunator-cpp/vcpkg.json
new file mode 100644
index 0000000..0933e50
--- /dev/null
+++ b/vcpkg/ports/delaunator-cpp/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "delaunator-cpp",
+ "version": "1.0.0",
+ "description": "A really fast C++ library for Delaunay triangulation of 2D points",
+ "homepage": "https://github.com/abellgithub/delaunator-cpp",
+ "license": "MIT"
+}