diff options
| author | Hconk <1164588530@qq.com> | 2021-10-01 05:03:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 14:03:38 -0700 |
| commit | 035b5877ad7259fa8c20375bfec0d92747533dd7 (patch) | |
| tree | ef5fa983373f718fc5f44b036338647d6619ff22 | |
| parent | 3434e5cbab6106eb86b198711cdae4c8f99e7dd8 (diff) | |
| download | vcpkg-035b5877ad7259fa8c20375bfec0d92747533dd7.tar.gz vcpkg-035b5877ad7259fa8c20375bfec0d92747533dd7.zip | |
[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
| -rw-r--r-- | ports/treehh/copyright | 5 | ||||
| -rw-r--r-- | ports/treehh/portfile.cmake | 10 | ||||
| -rw-r--r-- | ports/treehh/vcpkg.json | 6 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/t-/treehh.json | 9 |
5 files changed, 34 insertions, 0 deletions
diff --git a/ports/treehh/copyright b/ports/treehh/copyright new file mode 100644 index 000000000..2fcaf2b3a --- /dev/null +++ b/ports/treehh/copyright @@ -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.
diff --git a/ports/treehh/portfile.cmake b/ports/treehh/portfile.cmake new file mode 100644 index 000000000..1546f3640 --- /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 000000000..85147876d --- /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 cfaecb60e..449beeb14 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 000000000..536eaa542 --- /dev/null +++ b/versions/t-/treehh.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "935cf42d03c842e7408961440ece8a94303d45a6", + "version": "3.16", + "port-version": 0 + } + ] +} |
