aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/yas/CONTROL4
-rw-r--r--ports/yas/portfile.cmake11
2 files changed, 15 insertions, 0 deletions
diff --git a/ports/yas/CONTROL b/ports/yas/CONTROL
new file mode 100644
index 000000000..46baf2fda
--- /dev/null
+++ b/ports/yas/CONTROL
@@ -0,0 +1,4 @@
+Source: yas
+Version: 7.0.4
+Homepage: https://github.com/niXman/yas
+Description: Yet Another Serialization is a header only serialization library
diff --git a/ports/yas/portfile.cmake b/ports/yas/portfile.cmake
new file mode 100644
index 000000000..45ef71d74
--- /dev/null
+++ b/ports/yas/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO niXman/yas
+ REF 572d6b4c405ce2c808c06a5bb88a66b0b98b85a5
+ SHA512 3cc9df7b5d286c7c08350737677b71e255fdd60af52e56b975289ce8ad857cca374a907c5eea83da0240fbf2a92c960af26648df9fa11da7106ea630b8ddc10f
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/include/yas DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(INSTALL ${SOURCE_PATH}/include/yas/version.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)