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