aboutsummaryrefslogtreecommitdiff
path: root/ports/leaf
diff options
context:
space:
mode:
Diffstat (limited to 'ports/leaf')
-rw-r--r--ports/leaf/CONTROL3
-rw-r--r--ports/leaf/portfile.cmake20
-rw-r--r--ports/leaf/vcpkg.json9
3 files changed, 10 insertions, 22 deletions
diff --git a/ports/leaf/CONTROL b/ports/leaf/CONTROL
deleted file mode 100644
index e7a7c9480..000000000
--- a/ports/leaf/CONTROL
+++ /dev/null
@@ -1,3 +0,0 @@
-Source: leaf
-Version: 0.2.2
-Description: Lightweight error augmentation framework \ No newline at end of file
diff --git a/ports/leaf/portfile.cmake b/ports/leaf/portfile.cmake
index cb87093ea..9aefc8241 100644
--- a/ports/leaf/portfile.cmake
+++ b/ports/leaf/portfile.cmake
@@ -1,19 +1 @@
-vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO zajo/leaf
- REF 0.2.2
- SHA512 200a78e33fa919fbf996cfa5715f166e194b87776de79dec4c23d7a60b1f1e1c9db699f3d94d17b52c655e802ea63e1e6539538b180ecaafbfcf106b280b5c1f
- HEAD_REF master
-)
-
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
-)
-
-vcpkg_install_cmake()
-
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
-
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/leaf RENAME copyright)
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
diff --git a/ports/leaf/vcpkg.json b/ports/leaf/vcpkg.json
new file mode 100644
index 000000000..88c24fca5
--- /dev/null
+++ b/ports/leaf/vcpkg.json
@@ -0,0 +1,9 @@
+{
+ "name": "leaf",
+ "version-string": "0.2.2",
+ "port-version": 1,
+ "description": "Deprecated boost-leaf port.",
+ "dependencies": [
+ "boost-leaf"
+ ]
+}