diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/happly/portfile.cmake | 13 | ||||
| -rw-r--r-- | ports/happly/vcpkg.json | 6 |
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" +} |
