diff --git a/ports/c-dbg-macro/portfile.cmake b/ports/c-dbg-macro/portfile.cmake new file mode 100644 index 0000000000..95dd96ceb6 --- /dev/null +++ b/ports/c-dbg-macro/portfile.cmake @@ -0,0 +1,14 @@ +# single header file library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO eerimoq/dbg-macro + REF 78b7655bd0cfc2389fe96a3b6584d2930eb7ebd7 + SHA512 f755c8cf17b422f43f09dcd4f8232b6130a5933d0ce537ce4874ecb886ad2fd5dee26fe12c10cb1554a3720a1263d0ce07252c0893de395b8c9042c9330e60be + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/include/dbg.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) diff --git a/ports/c-dbg-macro/vcpkg.json b/ports/c-dbg-macro/vcpkg.json new file mode 100644 index 0000000000..0891d40d9e --- /dev/null +++ b/ports/c-dbg-macro/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "c-dbg-macro", + "version-date": "2020-02-29", + "description": "A dbg(...) macro for C", + "homepage": "https://github.com/eerimoq/dbg-macro" +} diff --git a/versions/baseline.json b/versions/baseline.json index bd4a6a7b14..2a5927f9c8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1196,6 +1196,10 @@ "baseline": "1.17.2", "port-version": 2 }, + "c-dbg-macro": { + "baseline": "2020-02-29", + "port-version": 0 + }, "c4core": { "baseline": "2021-07-18", "port-version": 1 diff --git a/versions/c-/c-dbg-macro.json b/versions/c-/c-dbg-macro.json new file mode 100644 index 0000000000..3bacd629b9 --- /dev/null +++ b/versions/c-/c-dbg-macro.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "c6819bcf6380a622775dfa3cebbcaf44ef745710", + "version-date": "2020-02-29", + "port-version": 0 + } + ] +}