Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tree.hh] Add new port. #20427

Merged
merged 4 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ports/treehh/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Copyright (C) 2001-2020 Kasper Peeters <kasper@phi-sci.com>
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.
10 changes: 10 additions & 0 deletions ports/treehh/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
6 changes: 6 additions & 0 deletions ports/treehh/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6664,6 +6664,10 @@
"baseline": "0.8.0",
"port-version": 3
},
"treehh": {
"baseline": "3.16",
"port-version": 0
},
"treehopper": {
"baseline": "1.11.3",
"port-version": 5
Expand Down
9 changes: 9 additions & 0 deletions versions/t-/treehh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "935cf42d03c842e7408961440ece8a94303d45a6",
"version": "3.16",
"port-version": 0
}
]
}