aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sciplot/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sciplot/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/sciplot/portfile.cmake')
-rw-r--r--vcpkg/ports/sciplot/portfile.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/sciplot/portfile.cmake b/vcpkg/ports/sciplot/portfile.cmake
new file mode 100644
index 0000000..c2f57f0
--- /dev/null
+++ b/vcpkg/ports/sciplot/portfile.cmake
@@ -0,0 +1,23 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO sciplot/sciplot
+ REF f8d779a1110b76c6bdc77edcdc7fa798156a6917 #v0.3.1
+ SHA512 fa21895c637bc42071fbd951e1c2ee450798398863626e31015f106077de4ad17dc276d77f2f1a4a7679c055c8cd8caafea513d746ac7ddbb22a16cc9382f39a
+ HEAD_REF vcpkg
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DSCIPLOT_BUILD_EXAMPLES=OFF
+ -DSCIPLOT_BUILD_TESTS=OFF
+ -DSCIPLOT_BUILD_DOCS=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH share/sciplot)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)