aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-03-22 23:34:08 +0100
committerGitHub <noreply@github.com>2021-03-22 15:34:08 -0700
commitc72fa13af27da7a926322cc547f26067035ad254 (patch)
tree0f8c5add9c5b3800e9a4e14753f1408838455b57 /ports
parentc8021b4675c1c90e855464c3aa274defd5d26e5b (diff)
downloadvcpkg-c72fa13af27da7a926322cc547f26067035ad254.tar.gz
vcpkg-c72fa13af27da7a926322cc547f26067035ad254.zip
[happly] add new port (#16788)
* [happly] add new port * add version files
Diffstat (limited to 'ports')
-rw-r--r--ports/happly/portfile.cmake13
-rw-r--r--ports/happly/vcpkg.json6
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/happly/portfile.cmake b/ports/happly/portfile.cmake
new file mode 100644
index 000000000..f10a673b4
--- /dev/null
+++ b/ports/happly/portfile.cmake
@@ -0,0 +1,13 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO nmwsharp/happly
+ REF 88f79725d32d78e0e637ebf42d8432d519e1c7d0
+ SHA512 79f2be2d4f5583bc4ea63d92af142fc1a59c91610dee5d2bbbd3fbfb6ff6cd697cd6cc6d740ac3878278257f550c739832b2ecf10887b0607045e9f09a35c92c
+ 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/ports/happly/vcpkg.json b/ports/happly/vcpkg.json
new file mode 100644
index 000000000..d9439a11c
--- /dev/null
+++ b/ports/happly/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "happly",
+ "version-date": "2021-03-19",
+ "description": "A header-only C++ reader/writer for the PLY file format.",
+ "homepage": "https://github.com/nmwsharp/happly"
+}