aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorVitalii Koshura <lestat.de.lionkur@gmail.com>2021-09-08 16:54:48 +0200
committerGitHub <noreply@github.com>2021-09-08 07:54:48 -0700
commitf4a827c2a7c3fb12ecfe69bdd32dfff6b4fe15e9 (patch)
tree51ddb5406a6ea2caf523d67096b294dc9a4ee0b3 /ports
parentb91abc4edacc23e0e798aff020adc425f5702d3e (diff)
downloadvcpkg-f4a827c2a7c3fb12ecfe69bdd32dfff6b4fe15e9.tar.gz
vcpkg-f4a827c2a7c3fb12ecfe69bdd32dfff6b4fe15e9.zip
[rappture] Update port to use vcpkg.json instead of CONTROL (#20049)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/rappture/CONTROL4
-rw-r--r--ports/rappture/portfile.cmake7
-rw-r--r--ports/rappture/vcpkg.json18
3 files changed, 21 insertions, 8 deletions
diff --git a/ports/rappture/CONTROL b/ports/rappture/CONTROL
deleted file mode 100644
index 611bda78a..000000000
--- a/ports/rappture/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: rappture
-Version: 1.9
-Description: Rappture is a toolkit supporting Rapid application infrastructure, making it quick and easy to develop powerful scientific applications.
-Build-Depends: expat, zlib
diff --git a/ports/rappture/portfile.cmake b/ports/rappture/portfile.cmake
index 00bde7d3a..e79ec3085 100644
--- a/ports/rappture/portfile.cmake
+++ b/ports/rappture/portfile.cmake
@@ -15,14 +15,13 @@ vcpkg_extract_source_archive_ex(
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets()
+vcpkg_cmake_config_fixup()
vcpkg_copy_pdbs()
diff --git a/ports/rappture/vcpkg.json b/ports/rappture/vcpkg.json
new file mode 100644
index 000000000..68a1a5efa
--- /dev/null
+++ b/ports/rappture/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "rappture",
+ "version": "1.9",
+ "port-version": 1,
+ "description": "Rappture is a toolkit supporting Rapid application infrastructure, making it quick and easy to develop powerful scientific applications.",
+ "dependencies": [
+ "expat",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ },
+ "zlib"
+ ]
+}