diff --git a/ports/plog/portfile.cmake b/ports/plog/portfile.cmake index a4b769dc34..6007c16857 100644 --- a/ports/plog/portfile.cmake +++ b/ports/plog/portfile.cmake @@ -2,14 +2,16 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO SergiusTheBest/plog - REF 1.1.5 - SHA512 c16b428e1855c905c486130c8610d043962bedc2b40d1d986c250c8f7fd7139540164a3cbb408ed08298370aa150d5937f358c13ccae2728ce8ea47fa897fd0b + REF 1.1.6 + SHA512 5240532df96144d5026d6f879b69f7d6f393ebc9122c6458c41076fd3db998565e45ed2ab4948f8c3cb59e08c0aad7695ee416f95b49fd70209cd937220cdf8b HEAD_REF master ) -# Put the licence file where vcpkg expects it -file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/plog) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/plog/LICENSE ${CURRENT_PACKAGES_DIR}/share/plog/copyright) - # Copy header files -file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h") +file(INSTALL "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}" FILES_MATCHING PATTERN "*.h") + +# Copy usage file +file(COPY "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") + +# Put the licence file where vcpkg expects it +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/plog/usage b/ports/plog/usage new file mode 100644 index 0000000000..6c232afda6 --- /dev/null +++ b/ports/plog/usage @@ -0,0 +1,4 @@ +The package plog is header only and can be used from CMake via: + + find_path(PLOG_INCLUDE_DIRS "plog/Log.h") + target_include_directories(main PRIVATE ${PLOG_INCLUDE_DIRS}) diff --git a/ports/plog/vcpkg.json b/ports/plog/vcpkg.json index c1de0acffa..4e1d894208 100644 --- a/ports/plog/vcpkg.json +++ b/ports/plog/vcpkg.json @@ -1,7 +1,7 @@ { "name": "plog", - "version-string": "1.1.5", - "port-version": 1, + "version": "1.1.6", "description": "Portable, simple and extensible C++ logging library.", - "homepage": "https://github.com/SergiusTheBest/plog" + "homepage": "https://github.com/SergiusTheBest/plog", + "license": "MPL-2.0" } diff --git a/versions/baseline.json b/versions/baseline.json index 8b2dcda916..2604268e4d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5449,8 +5449,8 @@ "port-version": 6 }, "plog": { - "baseline": "1.1.5", - "port-version": 1 + "baseline": "1.1.6", + "port-version": 0 }, "plplot": { "baseline": "5.13.0", diff --git a/versions/p-/plog.json b/versions/p-/plog.json index 640358487e..af0042a7a3 100644 --- a/versions/p-/plog.json +++ b/versions/p-/plog.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "aaca8cb03c90bca09c7bf83b393521dce2719686", + "version": "1.1.6", + "port-version": 0 + }, { "git-tree": "7cbf2ab91e484ee21e8c62316558e11b3a49f288", "version-string": "1.1.5",