aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRyan <ryan__mckenzie@hotmail.com>2021-03-22 15:35:03 -0700
committerGitHub <noreply@github.com>2021-03-22 15:35:03 -0700
commit40027831fd3c785b1a7e9c94bdb1248702bc8f24 (patch)
tree020a3105e28b9fbfbc4c04e4260e47e32e36491b /ports
parentc72fa13af27da7a926322cc547f26067035ad254 (diff)
downloadvcpkg-40027831fd3c785b1a7e9c94bdb1248702bc8f24.tar.gz
vcpkg-40027831fd3c785b1a7e9c94bdb1248702bc8f24.zip
[args] update to latest version (#16703)
* [args] update to latest version * update version files * correct version field * update version file
Diffstat (limited to 'ports')
-rw-r--r--ports/args/CONTROL4
-rw-r--r--ports/args/portfile.cmake14
-rw-r--r--ports/args/vcpkg.json16
3 files changed, 22 insertions, 12 deletions
diff --git a/ports/args/CONTROL b/ports/args/CONTROL
deleted file mode 100644
index 8e910d880..000000000
--- a/ports/args/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: args
-Version: 2020-09-14
-Homepage: https://github.com/Taywee/args
-Description: A simple header-only C++ argument parser library.
diff --git a/ports/args/portfile.cmake b/ports/args/portfile.cmake
index fa006e51b..bb1b75506 100644
--- a/ports/args/portfile.cmake
+++ b/ports/args/portfile.cmake
@@ -2,25 +2,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Taywee/args
- REF 84c7f36ee123aaea0dd6653204435e473f1b088e # accessed on 2020-09-14
- SHA512 c2a2f6571ec7f3cd64e9a1a0346af48c989663663d55a351bb51cd82583dcca3a6ed9f5b7a2686ef490b78efeb36b944dd9a76af0aad83b3dc64d3672c770efb
+ REF ae22269df734a2b0957a9ab4e37be41f61866dbe
+ SHA512 fe44bc6b7b81013ce649e3fa33c3d9503747a3c9044b70cf9eaf8ff780f2feabdabc261a33d29042daec19a598e3d60e318d3d415cbffb5fdcd2aabdd2ef39db
HEAD_REF master
)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
OPTIONS
-DARGS_BUILD_UNITTESTS=OFF
-DARGS_BUILD_EXAMPLE=OFF
)
-vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
# Put the licence file where vcpkg expects it
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/args)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/args/LICENSE ${CURRENT_PACKAGES_DIR}/share/args/copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
diff --git a/ports/args/vcpkg.json b/ports/args/vcpkg.json
new file mode 100644
index 000000000..6fa75ad63
--- /dev/null
+++ b/ports/args/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "args",
+ "version-date": "2021-03-14",
+ "description": "A simple header-only C++ argument parser library.",
+ "homepage": "https://github.com/Taywee/args",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}