aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-02-06 14:51:48 -0800
committerGitHub <noreply@github.com>2020-02-06 14:51:48 -0800
commitfc0e8b95b01b7a338d5bee1910eca42c98cd7bcc (patch)
tree349ba17521df1f80902482358d56f3e75f3c0df6
parent7a78d51e2ff6cc34cc2b9741bc3ca47de089e4b4 (diff)
parent923ef158c6c5541c8c684e17f3d202131b4b4d3c (diff)
downloadvcpkg-fc0e8b95b01b7a338d5bee1910eca42c98cd7bcc.tar.gz
vcpkg-fc0e8b95b01b7a338d5bee1910eca42c98cd7bcc.zip
Merge pull request #9925 from mbeutel/feature/bustache
[bustache] Add new port
-rw-r--r--ports/bustache/CONTROL5
-rw-r--r--ports/bustache/LICENSE4
-rw-r--r--ports/bustache/portfile.cmake21
3 files changed, 30 insertions, 0 deletions
diff --git a/ports/bustache/CONTROL b/ports/bustache/CONTROL
new file mode 100644
index 000000000..82aeb3a16
--- /dev/null
+++ b/ports/bustache/CONTROL
@@ -0,0 +1,5 @@
+Source: bustache
+Version: 1.1.0
+Build-Depends: boost-unordered, boost-utility
+Description: C++11 implementation of {{ mustache }}
+Homepage: https://github.com/jamboree/bustache
diff --git a/ports/bustache/LICENSE b/ports/bustache/LICENSE
new file mode 100644
index 000000000..6d2e4af1f
--- /dev/null
+++ b/ports/bustache/LICENSE
@@ -0,0 +1,4 @@
+Copyright (c) 2014-2018 Jamboree
+
+Distributed under the Boost Software License, Version 1.0. (See accompanying
+file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/ports/bustache/portfile.cmake b/ports/bustache/portfile.cmake
new file mode 100644
index 000000000..24c885770
--- /dev/null
+++ b/ports/bustache/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO jamboree/bustache
+ REF abb25ca189425783c6b7ec5c17c5284dccb59faf
+ SHA512 be00451f6a85edccacbdd5d8478d7af4f3162f9a9a31af876004237ca7f303c1262b2ea623e6ec595d73440dc14fcf22d185bc521fd3aca6e28ec43890d611c5
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH "${SOURCE_PATH}"
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+vcpkg_fixup_cmake_targets(CONFIG_PATH "share/bustache/cmake")
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+)
+
+file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)