diff --git a/ports/date/portfile.cmake b/ports/date/portfile.cmake index 876e0529f6..beb613ab13 100644 --- a/ports/date/portfile.cmake +++ b/ports/date/portfile.cmake @@ -8,7 +8,7 @@ endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO HowardHinnant/date - REF v3.0.1 + REF "v${VERSION}" SHA512 6bdc7cba821d66e17a559250cc0ce0095808e9db81cec9e16eaa4c31abdfa705299c67b72016d9b06b302bc306d063e83a374eb00728071b83a5ad650d59034f HEAD_REF master PATCHES @@ -41,4 +41,4 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") -file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") diff --git a/ports/date/vcpkg.json b/ports/date/vcpkg.json index 35e75e4217..bc782219a1 100644 --- a/ports/date/vcpkg.json +++ b/ports/date/vcpkg.json @@ -1,9 +1,10 @@ { "name": "date", "version": "3.0.1", - "port-version": 2, + "port-version": 3, "description": "A date and time library based on the C++17 header", "homepage": "https://github.com/HowardHinnant/date", + "license": "MIT", "dependencies": [ { "name": "vcpkg-cmake", diff --git a/versions/baseline.json b/versions/baseline.json index 2b6163fa31..c2d0eb18b9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2018,7 +2018,7 @@ }, "date": { "baseline": "3.0.1", - "port-version": 2 + "port-version": 3 }, "dav1d": { "baseline": "1.2.1", diff --git a/versions/d-/date.json b/versions/d-/date.json index e845993b09..20a76a34e7 100644 --- a/versions/d-/date.json +++ b/versions/d-/date.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "b3ca1bdc08676cd1bb802421bd94a18872305737", + "version": "3.0.1", + "port-version": 3 + }, { "git-tree": "14d5c6822908ad2fd1d700cca2067ae4b8ef4404", "version": "3.0.1",