diff --git a/ports/liborigin/portfile.cmake b/ports/liborigin/portfile.cmake index fd902683fd..be506b866e 100644 --- a/ports/liborigin/portfile.cmake +++ b/ports/liborigin/portfile.cmake @@ -23,12 +23,8 @@ vcpkg_cmake_install() vcpkg_fixup_pkgconfig() -if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") -else() - file(GLOB EXES "${CURRENT_PACKAGES_DIR}/bin/*.exe" "${CURRENT_PACKAGES_DIR}/debug/bin/*.exe") - file(REMOVE_RECURSE ${EXES}) -endif() +vcpkg_copy_tools(TOOL_NAMES opj2dat AUTO_CLEAN) + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/ports/liborigin/vcpkg.json b/ports/liborigin/vcpkg.json index ec49705bae..fd863e1739 100644 --- a/ports/liborigin/vcpkg.json +++ b/ports/liborigin/vcpkg.json @@ -1,7 +1,7 @@ { "name": "liborigin", "version": "3.0.2", - "port-version": 1, + "port-version": 2, "description": "A library for reading OriginLab OPJ project files.", "homepage": "https://sourceforge.net/projects/liborigin/", "license": "GPL-2.0-or-later", diff --git a/versions/baseline.json b/versions/baseline.json index 5b55c913ca..babb10694b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4778,7 +4778,7 @@ }, "liborigin": { "baseline": "3.0.2", - "port-version": 1 + "port-version": 2 }, "libosdp": { "baseline": "3.0.5", diff --git a/versions/l-/liborigin.json b/versions/l-/liborigin.json index df52796512..df7dc3145e 100644 --- a/versions/l-/liborigin.json +++ b/versions/l-/liborigin.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dfd4df45866d1fbcaeaf73592a12ce6564dfb6f9", + "version": "3.0.2", + "port-version": 2 + }, { "git-tree": "1af8619df06f9a9519e035cd59b7bfe89f25b59d", "version": "3.0.2",