diff --git a/ports/ncurses/portfile.cmake b/ports/ncurses/portfile.cmake index 820c55afa1..f1bf3887df 100644 --- a/ports/ncurses/portfile.cmake +++ b/ports/ncurses/portfile.cmake @@ -63,4 +63,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") -file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") diff --git a/ports/ncurses/usage b/ports/ncurses/usage index e82f435588..ff8bc2d610 100644 --- a/ports/ncurses/usage +++ b/ports/ncurses/usage @@ -2,6 +2,6 @@ The package ncurses is compatible with built-in CMake variables: set(CURSES_NEED_NCURSES TRUE) find_package(Curses REQUIRED) - target_include_directories(main ${CURSES_INCLUDE_DIRS}) - target_compile_options(main ${CURSES_CFLAGS}) + target_include_directories(main PRIVATE ${CURSES_INCLUDE_DIRS}) + target_compile_options(main PRIVATE ${CURSES_CFLAGS}) target_link_libraries(main PRIVATE ${CURSES_LIBRARIES}) diff --git a/ports/ncurses/vcpkg.json b/ports/ncurses/vcpkg.json index edda15ccfd..f1c28604b9 100644 --- a/ports/ncurses/vcpkg.json +++ b/ports/ncurses/vcpkg.json @@ -1,7 +1,7 @@ { "name": "ncurses", "version": "6.4", - "port-version": 1, + "port-version": 2, "description": "Free software emulation of curses in System V Release 4.0, and more", "homepage": "https://invisible-island.net/ncurses/announce.html", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index a4174a799c..8eec20f295 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6058,7 +6058,7 @@ }, "ncurses": { "baseline": "6.4", - "port-version": 1 + "port-version": 2 }, "ndis-driver-library": { "baseline": "1.2.0", diff --git a/versions/n-/ncurses.json b/versions/n-/ncurses.json index 0bf6124ec8..e3351c006c 100644 --- a/versions/n-/ncurses.json +++ b/versions/n-/ncurses.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "b32f25c6bd504d55b4d388c44e88a51a0870e7e9", + "version": "6.4", + "port-version": 2 + }, { "git-tree": "faaf5fff20ee04db0b33a595cd37f41b89c840d6", "version": "6.4",