diff --git a/ports/nlopt/portfile.cmake b/ports/nlopt/portfile.cmake index 7d232cbc8c..053d52bff6 100644 --- a/ports/nlopt/portfile.cmake +++ b/ports/nlopt/portfile.cmake @@ -25,6 +25,8 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nlopt) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") + +vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/nlopt/NLoptConfig.cmake" "/../../" "/../") vcpkg_fixup_pkgconfig() diff --git a/ports/nlopt/vcpkg.json b/ports/nlopt/vcpkg.json index bcc20e45c9..09155bad71 100644 --- a/ports/nlopt/vcpkg.json +++ b/ports/nlopt/vcpkg.json @@ -1,6 +1,7 @@ { "name": "nlopt", "version": "2.7.1", + "port-version": 1, "description": "Library for nonlinear local and global optimization, for functions with and without gradient information.", "homepage": "https://github.com/stevengj/nlopt", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index d09c6c2b6c..4adf85fd4e 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6098,7 +6098,7 @@ }, "nlopt": { "baseline": "2.7.1", - "port-version": 0 + "port-version": 1 }, "nmap": { "baseline": "7.70", diff --git a/versions/n-/nlopt.json b/versions/n-/nlopt.json index 9450b649d2..94bcd118ed 100644 --- a/versions/n-/nlopt.json +++ b/versions/n-/nlopt.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a83b7384132bb8eb542186bfe52258577f62897b", + "version": "2.7.1", + "port-version": 1 + }, { "git-tree": "b98ca95cd180e8c31c718f78ef39b5d733f0399f", "version": "2.7.1",