aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/tvision/portfile.cmake23
-rw-r--r--ports/tvision/vcpkg.json18
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/t-/tvision.json9
4 files changed, 54 insertions, 0 deletions
diff --git a/ports/tvision/portfile.cmake b/ports/tvision/portfile.cmake
new file mode 100644
index 000000000..c8f42021d
--- /dev/null
+++ b/ports/tvision/portfile.cmake
@@ -0,0 +1,23 @@
+vcpkg_fail_port_install(ON_TARGET "uwp")
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO magiblot/tvision
+ REF 638f963fe4f6c84854f60f1e9c5772bf6603e4b2
+ HEAD_REF master
+ SHA512 87c26fed26a332dd4b2a431dfbe0f8629d6565c59f61a3968fc658beda313ee8dad9bb59f53d47b1d664c0494841850b09e5c05533b2a74a372cc03548def2c5
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -DTV_BUILD_EXAMPLES=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
+
+file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) \ No newline at end of file
diff --git a/ports/tvision/vcpkg.json b/ports/tvision/vcpkg.json
new file mode 100644
index 000000000..4e1f52a18
--- /dev/null
+++ b/ports/tvision/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "tvision",
+ "version-date": "2021-08-10",
+ "description": "A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces.",
+ "homepage": "https://github.com/magiblot/tvision",
+ "license": "MIT",
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index d3b52c810..353e719b8 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6508,6 +6508,10 @@
"baseline": "2020-01-12",
"port-version": 0
},
+ "tvision": {
+ "baseline": "2021-08-10",
+ "port-version": 0
+ },
"tweeny": {
"baseline": "3.2.0",
"port-version": 0
diff --git a/versions/t-/tvision.json b/versions/t-/tvision.json
new file mode 100644
index 000000000..888ab5edd
--- /dev/null
+++ b/versions/t-/tvision.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "9d7a52a21054aae326fe5793acc7d54b04ec40f6",
+ "version-date": "2021-08-10",
+ "port-version": 0
+ }
+ ]
+}