From afef7d8e6ea636f8bb14159191eeb9ca97c97c0a Mon Sep 17 00:00:00 2001 From: toge Date: Wed, 24 Dec 2025 07:08:24 +0900 Subject: [PATCH] [plf-indiesort] add new port (#49033) --- ports/plf-indiesort/portfile.cmake | 14 ++++++++++++++ ports/plf-indiesort/vcpkg.json | 6 ++++++ versions/baseline.json | 4 ++++ versions/p-/plf-indiesort.json | 9 +++++++++ 4 files changed, 33 insertions(+) create mode 100644 ports/plf-indiesort/portfile.cmake create mode 100644 ports/plf-indiesort/vcpkg.json create mode 100644 versions/p-/plf-indiesort.json diff --git a/ports/plf-indiesort/portfile.cmake b/ports/plf-indiesort/portfile.cmake new file mode 100644 index 0000000000..0dee4833a9 --- /dev/null +++ b/ports/plf-indiesort/portfile.cmake @@ -0,0 +1,14 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mattreecebentley/plf_indiesort + REF fb28b3f24886253d4eaab5e05f23b8cf84238f1e + SHA512 1f8f7b8dbb698d22e02701d6991bf5525a825ac5404bdeba7b09bc7814175fedaeedebbd6aba4db587d5d93ab14d4f3e0dbe78a098b10e9c0d4efb1bc1456026 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/plf_indiesort.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) diff --git a/ports/plf-indiesort/vcpkg.json b/ports/plf-indiesort/vcpkg.json new file mode 100644 index 0000000000..085df481dc --- /dev/null +++ b/ports/plf-indiesort/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "plf-indiesort", + "version": "1.4.4", + "description": "A sort wrapper enabling both use of random-access sorting on non-random access containers, and increased performance for the sorting of large types.", + "homepage": "https://plflib.org/indiesort.htm" +} diff --git a/versions/baseline.json b/versions/baseline.json index 62f863cb09..efeb8e604d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7624,6 +7624,10 @@ "baseline": "2021-12-11", "port-version": 0 }, + "plf-indiesort": { + "baseline": "1.4.4", + "port-version": 0 + }, "plf-list": { "baseline": "2019-08-10", "port-version": 2 diff --git a/versions/p-/plf-indiesort.json b/versions/p-/plf-indiesort.json new file mode 100644 index 0000000000..c869a75a46 --- /dev/null +++ b/versions/p-/plf-indiesort.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "9906c63b4c60e46551fe19219cdd73b197e3bc73", + "version": "1.4.4", + "port-version": 0 + } + ] +}