aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <ryan__mckenzie@hotmail.com>2021-08-30 10:28:20 -0700
committerGitHub <noreply@github.com>2021-08-30 10:28:20 -0700
commit29916bbee5c3c60e1af197c5bcb747877ea4921a (patch)
treebd54a0553a6035bfde00360a5ae6925394e0da9f
parentfebda9603402eb4a8ceb70c2b042db9c8a74c3d1 (diff)
downloadvcpkg-29916bbee5c3c60e1af197c5bcb747877ea4921a.tar.gz
vcpkg-29916bbee5c3c60e1af197c5bcb747877ea4921a.zip
[ctre] Update to 3.4.1 (#19614)
* update to 3.4.1 * update baseline
-rw-r--r--ports/ctre/CONTROL3
-rw-r--r--ports/ctre/portfile.cmake21
-rw-r--r--ports/ctre/vcpkg.json16
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/c-/ctre.json5
5 files changed, 36 insertions, 11 deletions
diff --git a/ports/ctre/CONTROL b/ports/ctre/CONTROL
deleted file mode 100644
index 9fdadd3d8..000000000
--- a/ports/ctre/CONTROL
+++ /dev/null
@@ -1,3 +0,0 @@
-Source: ctre
-Version: 2.10
-Description: A Compile time PCRE (almost) compatible regular expression matcher
diff --git a/ports/ctre/portfile.cmake b/ports/ctre/portfile.cmake
index d88d21b1d..112ad13d5 100644
--- a/ports/ctre/portfile.cmake
+++ b/ports/ctre/portfile.cmake
@@ -1,13 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO hanickadot/compile-time-regular-expressions
- REF 4fea9f2745129b3542382646d032787713667448 # v2.10
- SHA512 a6137c6c19e8b535b4794c45a988206df71fe4b91378b2bc48ab265c8e850c20b42e6556a2665fdd5e542d8d7d5109eb0421a1f47b035c6d60d0296c36bdfeb5
- HEAD_REF master
+ REF v3.4.1
+ SHA512 a7b44df9c30fb46373e34d8b98fe3ef3fd0486d33ba4d7bbf58a29eef05b22b8c903bf79ae539008a564f46e0bdee3e7700819d8d072c00537f8d175af59be3e
+ HEAD_REF main
)
-# Install header files
-file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DCTRE_BUILD_TESTS=OFF
+ -DCTRE_BUILD_PACKAGE=OFF
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/ctre")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ctre RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/ctre/vcpkg.json b/ports/ctre/vcpkg.json
new file mode 100644
index 000000000..724d2c9b1
--- /dev/null
+++ b/ports/ctre/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "ctre",
+ "version-semver": "3.4.1",
+ "description": "A Compile time PCRE (almost) compatible regular expression matcher",
+ "homepage": "https://github.com/hanickadot/compile-time-regular-expressions",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 705afcdfb..3679e48e2 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -1561,7 +1561,7 @@
"port-version": 0
},
"ctre": {
- "baseline": "2.10",
+ "baseline": "3.4.1",
"port-version": 0
},
"cub": {
diff --git a/versions/c-/ctre.json b/versions/c-/ctre.json
index fab0a526f..a5f5f9160 100644
--- a/versions/c-/ctre.json
+++ b/versions/c-/ctre.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "fd57f6d1ec68aaa67e90f3382cce5668c5ecff5a",
+ "version-semver": "3.4.1",
+ "port-version": 0
+ },
+ {
"git-tree": "e50c31381fad0a8a4ac062531eaef4f728c2a469",
"version-string": "2.10",
"port-version": 0