aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rang
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/rang
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/rang')
-rw-r--r--vcpkg/ports/rang/portfile.cmake20
-rw-r--r--vcpkg/ports/rang/vcpkg.json16
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/rang/portfile.cmake b/vcpkg/ports/rang/portfile.cmake
new file mode 100644
index 0000000..9fa3eec
--- /dev/null
+++ b/vcpkg/ports/rang/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO agauniyal/rang
+ REF v3.2
+ SHA512 f579aaf3bddbfa2325dd31bdbe7c32598af8a340fee62c3a1e7ed1cf189af2808b7838a5fb13b3765279ddd1e7481f6229da72e72218a4916455cf3ae12b5a68
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rang)
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) \ No newline at end of file
diff --git a/vcpkg/ports/rang/vcpkg.json b/vcpkg/ports/rang/vcpkg.json
new file mode 100644
index 0000000..d316d7a
--- /dev/null
+++ b/vcpkg/ports/rang/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "rang",
+ "version": "3.2",
+ "description": "Colors for your Terminal.",
+ "homepage": "https://github.com/agauniyal/rang",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}