diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-06-12 00:23:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-11 09:23:28 -0700 |
| commit | 4d6d09bbcfbb2ab5623c3525dc04a812c40a7d8d (patch) | |
| tree | 2f9384577e581bd64612d7d65f2ba819b263c849 | |
| parent | c379c527bd52816186a5faf92df7401ce8f861bf (diff) | |
| download | vcpkg-4d6d09bbcfbb2ab5623c3525dc04a812c40a7d8d.tar.gz vcpkg-4d6d09bbcfbb2ab5623c3525dc04a812c40a7d8d.zip | |
[rapidjson] Remove usage (#18308)
* [rapidjson] Improve usage
* update version record
* Remove usage
* update version record
| -rw-r--r-- | ports/rapidjson/CONTROL | 4 | ||||
| -rw-r--r-- | ports/rapidjson/portfile.cmake | 6 | ||||
| -rw-r--r-- | ports/rapidjson/usage | 4 | ||||
| -rw-r--r-- | ports/rapidjson/vcpkg.json | 7 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/r-/rapidjson.json | 5 |
6 files changed, 15 insertions, 13 deletions
diff --git a/ports/rapidjson/CONTROL b/ports/rapidjson/CONTROL deleted file mode 100644 index 390b97453..000000000 --- a/ports/rapidjson/CONTROL +++ /dev/null @@ -1,4 +0,0 @@ -Source: rapidjson -Version: 2020-09-14 -Description: A fast JSON parser/generator for C++ with both SAX/DOM style API <http://rapidjson.org/> -Homepage: http://rapidjson.org/
\ No newline at end of file diff --git a/ports/rapidjson/portfile.cmake b/ports/rapidjson/portfile.cmake index d20f5fd79..118aa0b42 100644 --- a/ports/rapidjson/portfile.cmake +++ b/ports/rapidjson/portfile.cmake @@ -21,12 +21,10 @@ vcpkg_install_cmake() vcpkg_fixup_cmake_targets(CONFIG_PATH cmake) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/share/doc) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/share/doc") file(READ "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" _contents) string(REPLACE "\${RapidJSON_SOURCE_DIR}" "\${RapidJSON_CMAKE_DIR}/../.." _contents "${_contents}") file(WRITE "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" "${_contents}\nset(RAPIDJSON_INCLUDE_DIRS \"\${RapidJSON_INCLUDE_DIRS}\")\n") -file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) - +file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/rapidjson/usage b/ports/rapidjson/usage deleted file mode 100644 index b72b8e3d6..000000000 --- a/ports/rapidjson/usage +++ /dev/null @@ -1,4 +0,0 @@ -The package rapidjson provides CMake integration:
-
- find_package(RapidJSON CONFIG REQUIRED)
- target_include_directories(main PRIVATE ${RAPIDJSON_INCLUDE_DIRS})
diff --git a/ports/rapidjson/vcpkg.json b/ports/rapidjson/vcpkg.json new file mode 100644 index 000000000..ef79ba871 --- /dev/null +++ b/ports/rapidjson/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "rapidjson", + "version-date": "2020-09-14", + "port-version": 1, + "description": "A fast JSON parser/generator for C++ with both SAX/DOM style API <http://rapidjson.org/>", + "homepage": "http://rapidjson.org/" +} diff --git a/versions/baseline.json b/versions/baseline.json index 616b1552a..d1d2937f7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5410,7 +5410,7 @@ }, "rapidjson": { "baseline": "2020-09-14", - "port-version": 0 + "port-version": 1 }, "rapidxml": { "baseline": "1.13-4", diff --git a/versions/r-/rapidjson.json b/versions/r-/rapidjson.json index 6e02a1790..ba72dc4b6 100644 --- a/versions/r-/rapidjson.json +++ b/versions/r-/rapidjson.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "6d70aec68e6db30b2fb6b659bc6f1453fe8c80a3", + "version-date": "2020-09-14", + "port-version": 1 + }, + { "git-tree": "85e20cbcb5a3a60d6f64064055d149e2c2f01534", "version-string": "2020-09-14", "port-version": 0 |
