aboutsummaryrefslogtreecommitdiff
path: root/ports/libfort
diff options
context:
space:
mode:
authorJonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>2021-09-08 22:55:21 +0800
committerGitHub <noreply@github.com>2021-09-08 07:55:21 -0700
commitf4f8bba9d4429a030153e6fda2d8d6b262a54c8f (patch)
tree5c3743ef769aea3cb4751595974831c771bb2197 /ports/libfort
parentf4a827c2a7c3fb12ecfe69bdd32dfff6b4fe15e9 (diff)
downloadvcpkg-f4f8bba9d4429a030153e6fda2d8d6b262a54c8f.tar.gz
vcpkg-f4f8bba9d4429a030153e6fda2d8d6b262a54c8f.zip
[libfort/libgit2/cli11] update to the latest version (#20024)
* [libfort/libgit2/cli11] update to the latest version * update version * delete useless dependencies * update version
Diffstat (limited to 'ports/libfort')
-rw-r--r--ports/libfort/portfile.cmake17
-rw-r--r--ports/libfort/vcpkg.json14
2 files changed, 20 insertions, 11 deletions
diff --git a/ports/libfort/portfile.cmake b/ports/libfort/portfile.cmake
index 1ff014765..969af67eb 100644
--- a/ports/libfort/portfile.cmake
+++ b/ports/libfort/portfile.cmake
@@ -3,23 +3,22 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO seleznevae/libfort
- REF ccb892f77dc30c2ebc42916a3f862a965e8c097f # v0.4.1
- SHA512 0397e52985b56b6740d22533c48039bf1d61fb90795e97a6153e9360702d1e89b5353ba74de92005bbc874822766d157de21d175387ffd00d0a5294e531d2d8b
+ REF b1c32b67511f4612996b287a1ef4a9df012521d2 # v0.4.2
+ SHA512 56d3bd00b8a72a5f9deb9bca9a325e100319aed55e10321d04243d8a2a94c0fa513ada1b13bc59957af01b1f2c5f1655304a4a608e118cbeb65d2b4527f102d0
HEAD_REF main
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DFORT_ENABLE_TESTING=OFF
-DFORT_ENABLE_ASTYLE=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libfort)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/libfort/vcpkg.json b/ports/libfort/vcpkg.json
index 613042cb6..7a13edcc5 100644
--- a/ports/libfort/vcpkg.json
+++ b/ports/libfort/vcpkg.json
@@ -1,7 +1,17 @@
{
"name": "libfort",
- "version-string": "0.4.1",
+ "version-semver": "0.4.2",
"description": "A simple crossplatform library to create formatted text tables",
"homepage": "https://github.com/seleznevae/libfort",
- "license": "MIT"
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
}