[tree.hh] Add new port. (#20427)

* [tree.hh] create a new port.

* [tree.hh] update baseline.json.

* [treehh] update portfile and copyright

* [treehh] update baseline
This commit is contained in:
Hconk 2021-10-01 05:03:38 +08:00 committed by GitHub
parent 3434e5cbab
commit 035b5877ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 0 deletions

5
ports/treehh/copyright Normal file
View File

@ -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.

View File

@ -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
ports/treehh/vcpkg.json Normal file
View File

@ -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"
}

View File

@ -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

9
versions/t-/treehh.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "935cf42d03c842e7408961440ece8a94303d45a6",
"version": "3.16",
"port-version": 0
}
]
}