aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Pallastrelli <5451767+daniele77@users.noreply.github.com>2021-08-30 19:25:27 +0200
committerGitHub <noreply@github.com>2021-08-30 10:25:27 -0700
commitf7323677444d6c8dacaf5f7e854e3756143256cd (patch)
tree7e1e8206a934b052dde3f741e34433ee0eab5c46
parent116ce79d704ce1332b17d78d118d8cca079fadd5 (diff)
downloadvcpkg-f7323677444d6c8dacaf5f7e854e3756143256cd.tar.gz
vcpkg-f7323677444d6c8dacaf5f7e854e3756143256cd.zip
[cli] update to v.2.0.0 (#19744)
* [cli] Update the version to 1.1.1 * [cli] Update the version to 1.2.1 * [cli] Update the version to 1.2.1: fix PR requests * [aricpp] create a new port (#17162) * [cli] run the command: ./vcpkg x-add-version --all * [aricpp] change request for #18048 * Update ports/aricpp/portfile.cmake * [aricpp] change request for #18048 * Update ports/aricpp/vcpkg.json * Update ports/aricpp/vcpkg.json * Update versions/a-/aricpp.json * Update versions/a-/aricpp.json * [aricpp] port-version -> 0 * [cli] v. 2.0 * [cli] Update ports/cli/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/cli/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * [cli] bump port version * Update versions/c-/cli.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Daniele Pallastrelli <daniele.pallastrelli@sadel.it> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
-rw-r--r--ports/cli/CONTROL5
-rw-r--r--ports/cli/portfile.cmake19
-rw-r--r--ports/cli/vcpkg.json17
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/c-/cli.json5
5 files changed, 33 insertions, 15 deletions
diff --git a/ports/cli/CONTROL b/ports/cli/CONTROL
deleted file mode 100644
index 8cda2750e..000000000
--- a/ports/cli/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: cli
-Version: 1.2.1
-Homepage: https://github.com/daniele77/cli
-Description: A library for interactive command line interfaces in modern C++
-Build-Depends: boost-asio
diff --git a/ports/cli/portfile.cmake b/ports/cli/portfile.cmake
index 134c71829..e8e1ffc7a 100644
--- a/ports/cli/portfile.cmake
+++ b/ports/cli/portfile.cmake
@@ -1,18 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO daniele77/cli
- REF v1.2.1
- SHA512 fc834608ac2ca6c3f330711c80897cc581eb1ed8da7a0d56a07efe6650d871f5317c777a6a029fdc0177684f08479bd129cc0ce748354bac3dbe6af79a390d14
+ REF v2.0.0
+ SHA512 8a3e42d02f8bf757628fb876ccfa376771bbe66e7820d7fd5b34119fca262129f5122e67d939e0898b5964a162a8fd4538d5e6ffa96c4935a8c3979e5d5dbd9d
HEAD_REF master
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
)
-vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cli)
+vcpkg_cmake_install()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+vcpkg_copy_pdbs()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cli)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/cli/vcpkg.json b/ports/cli/vcpkg.json
new file mode 100644
index 000000000..dc433aa91
--- /dev/null
+++ b/ports/cli/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "cli",
+ "version-semver": "2.0.0",
+ "description": "A library for interactive command line interfaces in modern C++",
+ "homepage": "https://github.com/daniele77/cli",
+ "dependencies": [
+ "boost-asio",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 04d978314..c1e4352ce 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -1301,7 +1301,7 @@
"port-version": 0
},
"cli": {
- "baseline": "1.2.1",
+ "baseline": "2.0.0",
"port-version": 0
},
"cli11": {
diff --git a/versions/c-/cli.json b/versions/c-/cli.json
index a2a1d8e0f..fa9ecd855 100644
--- a/versions/c-/cli.json
+++ b/versions/c-/cli.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "52c57cc23f038ec2f73805b37f42639541036956",
+ "version-semver": "2.0.0",
+ "port-version": 0
+ },
+ {
"git-tree": "ae335f0cbfecdfb4f7d5448bf3e1fec0ae9aecb9",
"version-string": "1.2.1",
"port-version": 0