From 54409423f767d8b1cf30cb7d0efca6b4ca138823 Mon Sep 17 00:00:00 2001 From: Ethan Morgan Date: Sat, 14 Feb 2026 16:44:06 +0000 Subject: move to own git server --- vcpkg/ports/matplotlib-cpp/portfile.cmake | 14 ++++++++++++++ vcpkg/ports/matplotlib-cpp/vcpkg.json | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 vcpkg/ports/matplotlib-cpp/portfile.cmake create mode 100644 vcpkg/ports/matplotlib-cpp/vcpkg.json (limited to 'vcpkg/ports/matplotlib-cpp') 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" +} -- cgit v1.2.3