aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/clara/CONTROL3
-rw-r--r--ports/clara/portfile.cmake11
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/clara/CONTROL b/ports/clara/CONTROL
new file mode 100644
index 000000000..10aba99f3
--- /dev/null
+++ b/ports/clara/CONTROL
@@ -0,0 +1,3 @@
+Source: clara
+Version: 2017-07-20-9661f2b4a50895d52ebb4c59382785a2b416c310
+Description: A simple to use command line parser for C++ \ No newline at end of file
diff --git a/ports/clara/portfile.cmake b/ports/clara/portfile.cmake
new file mode 100644
index 000000000..020d8cd87
--- /dev/null
+++ b/ports/clara/portfile.cmake
@@ -0,0 +1,11 @@
+include(vcpkg_common_functions)
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO philsquared/Clara
+ REF 9661f2b4a50895d52ebb4c59382785a2b416c310
+ SHA512 0de5bbef3deb2b7a93be02a407ea88ef93a3d60cea4013b80bdb8cf3805e31af1d8598cb7a8415023d7f632b106d510360c61b5df15b09f30d6c045f2add33b3
+ HEAD_REF master
+)
+file(INSTALL ${SOURCE_PATH}/single_include/clara.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/single_include/clara.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/clara RENAME copyright)
+vcpkg_copy_pdbs() \ No newline at end of file