aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tanakh-cmdline
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/tanakh-cmdline
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/tanakh-cmdline')
-rw-r--r--vcpkg/ports/tanakh-cmdline/portfile.cmake15
-rw-r--r--vcpkg/ports/tanakh-cmdline/vcpkg.json7
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/tanakh-cmdline/portfile.cmake b/vcpkg/ports/tanakh-cmdline/portfile.cmake
new file mode 100644
index 0000000..ea62202
--- /dev/null
+++ b/vcpkg/ports/tanakh-cmdline/portfile.cmake
@@ -0,0 +1,15 @@
+set(VCPKG_BUILD_TYPE "release") # header-only port
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO tanakh/cmdline
+ REF e4cd007fb8f0314002d9a5b4d82939106e4144e4
+ SHA512 0d69105d79672daaf0194f15479794ab1b62c4ae270eb56e6664bc65e4cf4ebbc0d5bf76bc92ecea23fb401121165f9e8a79e39136b34ef680444208294ecf60
+ HEAD_REF master
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+
+file(INSTALL "${SOURCE_PATH}/cmdline.h"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include/tanakh-cmdline"
+)
+
diff --git a/vcpkg/ports/tanakh-cmdline/vcpkg.json b/vcpkg/ports/tanakh-cmdline/vcpkg.json
new file mode 100644
index 0000000..0d1a01b
--- /dev/null
+++ b/vcpkg/ports/tanakh-cmdline/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "tanakh-cmdline",
+ "version-date": "2014-02-04",
+ "description": "A simple, header-only command line parser for C++.",
+ "homepage": "https://github.com/tanakh/cmdline",
+ "license": "BSD-3-Clause"
+}