diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/matplotlib-cpp | |
Diffstat (limited to 'vcpkg/ports/matplotlib-cpp')
| -rw-r--r-- | vcpkg/ports/matplotlib-cpp/portfile.cmake | 14 | ||||
| -rw-r--r-- | vcpkg/ports/matplotlib-cpp/vcpkg.json | 7 |
2 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/matplotlib-cpp/portfile.cmake b/vcpkg/ports/matplotlib-cpp/portfile.cmake new file mode 100644 index 0000000..e3b61c2 --- /dev/null +++ b/vcpkg/ports/matplotlib-cpp/portfile.cmake @@ -0,0 +1,14 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO lava/matplotlib-cpp + REF 70d508fcb7febc66535ba923eac1b1a4e571e4d1 + SHA512 4da452fc38b6c349a1b08b97775ef2d90354fabd3c8c3a0383f08609b22dea222b7f3e091efc1b833755f6b5c1e8564e675d2ed54cdc21f8b07b1b7bb44a82f4 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/matplotlibcpp.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) diff --git a/vcpkg/ports/matplotlib-cpp/vcpkg.json b/vcpkg/ports/matplotlib-cpp/vcpkg.json new file mode 100644 index 0000000..8e379d7 --- /dev/null +++ b/vcpkg/ports/matplotlib-cpp/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "matplotlib-cpp", + "version-date": "2020-08-27", + "port-version": 2, + "description": "Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib", + "homepage": "https://github.com/lava/matplotlib-cpp" +} |