aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/happly
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/happly
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/happly')
-rw-r--r--vcpkg/ports/happly/portfile.cmake13
-rw-r--r--vcpkg/ports/happly/vcpkg.json6
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/happly/portfile.cmake b/vcpkg/ports/happly/portfile.cmake
new file mode 100644
index 0000000..7ebb434
--- /dev/null
+++ b/vcpkg/ports/happly/portfile.cmake
@@ -0,0 +1,13 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO nmwsharp/happly
+ REF v${VERSION}
+ SHA512 18dfcfebf3a374fae170c992c9e9a7409c12b41c092a3d261d37fdfcd1198060c1c2fe2a13820036b5d3b76dfa206b3f995e105313dc2da2f98fc53cc3781653
+ HEAD_REF master
+)
+
+file(
+ COPY ${SOURCE_PATH}/happly.h
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include
+)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/vcpkg/ports/happly/vcpkg.json b/vcpkg/ports/happly/vcpkg.json
new file mode 100644
index 0000000..db2e72d
--- /dev/null
+++ b/vcpkg/ports/happly/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "happly",
+ "version": "1.0.0",
+ "description": "A header-only C++ reader/writer for the PLY file format.",
+ "homepage": "https://github.com/nmwsharp/happly"
+}