From d91060e6287bc764ac490bbe4232f9d267973e50 Mon Sep 17 00:00:00 2001 From: Vennor Date: Fri, 3 Jul 2020 20:17:00 +0200 Subject: [PATCH 1/2] [ppmagic] Add 2c7894e3056c610d383027b2d48149ba9d4a1c62 --- ports/ppmagic/CONTROL | 4 ++++ ports/ppmagic/portfile.cmake | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 ports/ppmagic/CONTROL create mode 100644 ports/ppmagic/portfile.cmake diff --git a/ports/ppmagic/CONTROL b/ports/ppmagic/CONTROL new file mode 100644 index 00000000000000..15dffa9703f55c --- /dev/null +++ b/ports/ppmagic/CONTROL @@ -0,0 +1,4 @@ +Source: ppmagic +Version: 2c7894e3056c610d383027b2d48149ba9d4a1c62 +Description: C/C++ preprocessor macros that you can use to simplify your life. +Homepage: https://github.com/kobalicek/ppmagic diff --git a/ports/ppmagic/portfile.cmake b/ports/ppmagic/portfile.cmake new file mode 100644 index 00000000000000..18f491f8062494 --- /dev/null +++ b/ports/ppmagic/portfile.cmake @@ -0,0 +1,13 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO kobalicek/ppmagic + REF 2c7894e3056c610d383027b2d48149ba9d4a1c62 + SHA512 4ab5f1dbef4c9b7892d8042e2a2b01df21a201b2b05a1b75a6ad594f50e2ec1c6a3e4782bb1d702266c90440df679d7eb24dfe595ce35680f7d263ec6c371a3b + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/ppmagic.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) From ec17127a62b2d44327268b8ccbcfcbe4675c5c5f Mon Sep 17 00:00:00 2001 From: Vennor Date: Fri, 3 Jul 2020 21:05:39 +0200 Subject: [PATCH 2/2] [ppmagic] Updated port version to the proper value 2020-07-03 --- ports/ppmagic/CONTROL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/ppmagic/CONTROL b/ports/ppmagic/CONTROL index 15dffa9703f55c..c31d605b7d5add 100644 --- a/ports/ppmagic/CONTROL +++ b/ports/ppmagic/CONTROL @@ -1,4 +1,4 @@ Source: ppmagic -Version: 2c7894e3056c610d383027b2d48149ba9d4a1c62 +Version: 2020-07-03 Description: C/C++ preprocessor macros that you can use to simplify your life. Homepage: https://github.com/kobalicek/ppmagic