diff --git a/ports/treehh/copyright b/ports/treehh/copyright new file mode 100644 index 0000000000..2fcaf2b3a4 --- /dev/null +++ b/ports/treehh/copyright @@ -0,0 +1,5 @@ +Copyright (C) 2001-2020 Kasper Peeters +Distributed under the GNU General Public License version 3. + +Special permission to use tree.hh under the conditions of a +different license can be requested from the author. diff --git a/ports/treehh/portfile.cmake b/ports/treehh/portfile.cmake new file mode 100644 index 0000000000..1546f36403 --- /dev/null +++ b/ports/treehh/portfile.cmake @@ -0,0 +1,10 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO kpeeters/tree.hh + REF 8dc57bc2bb7cd2fd1d6e777c6b5b58db0c3852ef + SHA512 a40481952802fdfab05159822b012a576ea956135a44f88d93844cb578c49ed5fb6fb7330bce699d7fa6ba1da65d12b284b6e9e6b103eadfd76cbc96d6839db5 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/src/tree.hh" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}/") +file(INSTALL "${CURRENT_PORT_DIR}/copyright" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/treehh/vcpkg.json b/ports/treehh/vcpkg.json new file mode 100644 index 0000000000..85147876d9 --- /dev/null +++ b/ports/treehh/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "treehh", + "version": "3.16", + "description": "An STL-like C++ header-only tree library", + "homepage": "https://github.com/kpeeters/tree.hh" +} diff --git a/versions/baseline.json b/versions/baseline.json index cfaecb60ee..449beeb146 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6720,6 +6720,10 @@ "baseline": "0.8.0", "port-version": 3 }, + "treehh": { + "baseline": "3.16", + "port-version": 0 + }, "treehopper": { "baseline": "1.11.3", "port-version": 5 diff --git a/versions/t-/treehh.json b/versions/t-/treehh.json new file mode 100644 index 0000000000..536eaa5427 --- /dev/null +++ b/versions/t-/treehh.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "935cf42d03c842e7408961440ece8a94303d45a6", + "version": "3.16", + "port-version": 0 + } + ] +}