diff --git a/ports/meojson/portfile.cmake b/ports/meojson/portfile.cmake new file mode 100644 index 0000000000..eace09d508 --- /dev/null +++ b/ports/meojson/portfile.cmake @@ -0,0 +1,24 @@ +set(VCPKG_BUILD_TYPE release) # header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO MistEO/meojson + REF v4.5.0 + SHA512 f3e85f6a51a8dc3a7e9c11eb5e30553ecc7cec64a50e1acbce7ca7f2aaba76ab25bc7eb6575625b4294975142a3aefe9d9d6f4e147242f73192e934fc7be849a + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_SAMPLE=OFF + -DBUILD_TESTING=OFF + -DBUILD_BENCHMARK=OFF +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/meojson) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/meojson/vcpkg.json b/ports/meojson/vcpkg.json new file mode 100644 index 0000000000..9cec292cbd --- /dev/null +++ b/ports/meojson/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "meojson", + "version": "4.5.0", + "description": "Next-gen C++ JSON/JSON5 Serialization Engine | Zero Dependency | Header-Only | Unleash JSON Potential", + "homepage": "https://github.com/MistEO/meojson", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index da8cb6a322..7302f24540 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6176,6 +6176,10 @@ "baseline": "2019-12-31", "port-version": 3 }, + "meojson": { + "baseline": "4.5.0", + "port-version": 0 + }, "mesa": { "baseline": "24.0.7", "port-version": 3 diff --git a/versions/m-/meojson.json b/versions/m-/meojson.json new file mode 100644 index 0000000000..6c5426bd32 --- /dev/null +++ b/versions/m-/meojson.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "6611806f2f613f0daa72da83d9a9c56a44ba87d8", + "version": "4.5.0", + "port-version": 0 + } + ] +}