aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/osmanip
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/osmanip
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/osmanip')
-rw-r--r--vcpkg/ports/osmanip/portfile.cmake25
-rw-r--r--vcpkg/ports/osmanip/vcpkg.json18
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/osmanip/portfile.cmake b/vcpkg/ports/osmanip/portfile.cmake
new file mode 100644
index 0000000..b46a0ad
--- /dev/null
+++ b/vcpkg/ports/osmanip/portfile.cmake
@@ -0,0 +1,25 @@
+# Github config
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO JustWhit3/osmanip
+ REF "v${VERSION}"
+ SHA512 ac5435ce5d39440851a01ee1576b7a543979efbf374a27ec32d63716361ef91662c353c2e39fecbd7e01059e8676f952f6851111643a55f941695dbbc6f03da4
+ HEAD_REF main
+)
+
+# Main commands
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DOSMANIP_TESTS=OFF
+)
+vcpkg_cmake_install()
+
+# Move cmake configs
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/osmanip)
+
+# Remove duplicate files
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+# Install license
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/osmanip/vcpkg.json b/vcpkg/ports/osmanip/vcpkg.json
new file mode 100644
index 0000000..94357fe
--- /dev/null
+++ b/vcpkg/ports/osmanip/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "osmanip",
+ "version": "4.6.1",
+ "description": "A cross-platform library for output stream manipulation using ANSI escape sequences.",
+ "homepage": "https://github.com/JustWhit3/osmanip",
+ "license": "MIT",
+ "dependencies": [
+ "arsenalgear",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}