aboutsummaryrefslogtreecommitdiff
path: root/ports/civetweb
diff options
context:
space:
mode:
Diffstat (limited to 'ports/civetweb')
-rw-r--r--ports/civetweb/CONTROL10
-rw-r--r--ports/civetweb/portfile.cmake3
-rw-r--r--ports/civetweb/vcpkg.json16
3 files changed, 18 insertions, 11 deletions
diff --git a/ports/civetweb/CONTROL b/ports/civetweb/CONTROL
deleted file mode 100644
index 395e24465..000000000
--- a/ports/civetweb/CONTROL
+++ /dev/null
@@ -1,10 +0,0 @@
-Source: civetweb
-Version: 1.13
-Port-Version: 1
-Homepage: https://github.com/civetweb/civetweb
-Description: Easy to use, powerful, C/C++ embeddable web server.
-Supports: !uwp
-
-Feature: ssl
-Build-Depends: openssl
-Description: Enable SSL support \ No newline at end of file
diff --git a/ports/civetweb/portfile.cmake b/ports/civetweb/portfile.cmake
index 2dae7f4d6..8af5c6d76 100644
--- a/ports/civetweb/portfile.cmake
+++ b/ports/civetweb/portfile.cmake
@@ -12,7 +12,8 @@ vcpkg_from_github(
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- ssl CIVETWEB_ENABLE_SSL
+ FEATURES
+ ssl CIVETWEB_ENABLE_SSL
)
vcpkg_configure_cmake(
diff --git a/ports/civetweb/vcpkg.json b/ports/civetweb/vcpkg.json
new file mode 100644
index 000000000..77ac71bf0
--- /dev/null
+++ b/ports/civetweb/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "civetweb",
+ "version": "1.13",
+ "port-version": 2,
+ "description": "Easy to use, powerful, C/C++ embeddable web server.",
+ "homepage": "https://github.com/civetweb/civetweb",
+ "supports": "!uwp",
+ "features": {
+ "ssl": {
+ "description": "Enable SSL support",
+ "dependencies": [
+ "openssl"
+ ]
+ }
+ }
+}