aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/parsi/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/parsi/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/parsi/portfile.cmake')
-rw-r--r--vcpkg/ports/parsi/portfile.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/parsi/portfile.cmake b/vcpkg/ports/parsi/portfile.cmake
new file mode 100644
index 0000000..e111e43
--- /dev/null
+++ b/vcpkg/ports/parsi/portfile.cmake
@@ -0,0 +1,17 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO cthulhu-irl/parsi
+ REF "v${VERSION}"
+ SHA512 193927b3b2e50d358752c6b58798d4050101d634d5231bf3e5c354edaca846a4e05f8b862c8fc461116f8ddecda0b0ebac7ee936579868a816e6404cedf964ec
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DPARSI_MAIN_PROJECT=OFF -DPARSI_INSTALL=ON)
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug"
+)
+
+file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")