diff --git a/ports/ptc-print/portfile.cmake b/ports/ptc-print/portfile.cmake index 8fa5fa9961..4d28d6809a 100644 --- a/ports/ptc-print/portfile.cmake +++ b/ports/ptc-print/portfile.cmake @@ -1,3 +1,5 @@ +# header-only library + # Github config vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH @@ -16,7 +18,7 @@ vcpkg_cmake_configure( vcpkg_cmake_install() # Move cmake configs -vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/ptcprint) +vcpkg_cmake_config_fixup(PACKAGE_NAME ptcprint CONFIG_PATH lib/cmake/ptcprint) # Remove duplicate files file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" @@ -25,4 +27,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug") # Install license -file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/ptc-print" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/ptc-print/usage b/ports/ptc-print/usage deleted file mode 100644 index b7dadecdbc..0000000000 --- a/ports/ptc-print/usage +++ /dev/null @@ -1,5 +0,0 @@ -ptc-print provides CMake targets: - - find_package(ptcprint) - target_link_libraries(main PRIVATE ptcprint::ptcprint) - \ No newline at end of file diff --git a/ports/ptc-print/vcpkg.json b/ports/ptc-print/vcpkg.json index 43fd5d32be..f13a3fbebd 100644 --- a/ports/ptc-print/vcpkg.json +++ b/ports/ptc-print/vcpkg.json @@ -1,6 +1,7 @@ { "name": "ptc-print", "version": "1.4.0", + "port-version": 1, "description": "A single-header library for custom printing to the output stream.", "homepage": "https://github.com/JustWhit3/ptc-print", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index dbe99952ac..447a0eb6d9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6142,7 +6142,7 @@ }, "ptc-print": { "baseline": "1.4.0", - "port-version": 0 + "port-version": 1 }, "ptex": { "baseline": "2.3.2", diff --git a/versions/p-/ptc-print.json b/versions/p-/ptc-print.json index 544f7e4ddb..c66eaa04f5 100644 --- a/versions/p-/ptc-print.json +++ b/versions/p-/ptc-print.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "03f588ecdd3b7638a92dd2c61ea3ca0adaa28eb6", + "version": "1.4.0", + "port-version": 1 + }, { "git-tree": "f397412b082c666b7b130ca2f808b0e7badcdf0e", "version": "1.4.0",