diff --git a/ports/tinyxml2/CONTROL b/ports/tinyxml2/CONTROL index e91d9e405b6009..f4b626c9691482 100644 --- a/ports/tinyxml2/CONTROL +++ b/ports/tinyxml2/CONTROL @@ -2,4 +2,3 @@ Source: tinyxml2 Version: 8.0.0 Homepage: https://github.com/leethomason/tinyxml2 Description: A simple, small, efficient, C++ XML parser - diff --git a/ports/tinyxml2/portfile.cmake b/ports/tinyxml2/portfile.cmake index 3e06ada03e6dd2..03678eafa43130 100644 --- a/ports/tinyxml2/portfile.cmake +++ b/ports/tinyxml2/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO leethomason/tinyxml2 @@ -24,8 +22,4 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) -file(COPY - ${SOURCE_PATH}/readme.md - DESTINATION ${CURRENT_PACKAGES_DIR}/share/tinyxml2 -) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/tinyxml2/readme.md ${CURRENT_PACKAGES_DIR}/share/tinyxml2/copyright) +file(INSTALL ${SOURCE_PATH}/readme.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)