diff --git a/ports/cmakerc/portfile.cmake b/ports/cmakerc/portfile.cmake new file mode 100644 index 0000000000..1a0d3ba556 --- /dev/null +++ b/ports/cmakerc/portfile.cmake @@ -0,0 +1,14 @@ +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO vector-of-bool/cmrc + REF a64bea50c05594c8e7cf1f08e441bb9507742e2e + SHA512 134c358143bd43d38802c5b00b3f5cd6a0e4c7918659dd4cc6726a15048e11376e915889788d0dd6bbfe4c4057e18c9b5306c4e785ad16cb0f4cd1c5c4634f80 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/CMakeRC.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME cmakerc-config.cmake) + +# Handle copyright +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/cmakerc/vcpkg.json b/ports/cmakerc/vcpkg.json new file mode 100644 index 0000000000..39162213e5 --- /dev/null +++ b/ports/cmakerc/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "cmakerc", + "version-date": "2021-08-27", + "description": "A Resource Compiler in a Single CMake Script", + "homepage": "https://github.com/vector-of-bool/cmrc", + "license": "MIT" +} diff --git a/versions/baseline.json b/versions/baseline.json index 6b44d2eee2..6a6b2588cd 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1444,6 +1444,10 @@ "baseline": "1.0.0", "port-version": 0 }, + "cmakerc": { + "baseline": "2021-08-27", + "port-version": 0 + }, "cmark": { "baseline": "0.30.1", "port-version": 0 diff --git a/versions/c-/cmakerc.json b/versions/c-/cmakerc.json new file mode 100644 index 0000000000..fc2a9fb618 --- /dev/null +++ b/versions/c-/cmakerc.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "740fd9bb83e79eba29ccd69546d2b3105d719d5d", + "version-date": "2021-08-27", + "port-version": 0 + } + ] +}