aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiqac <77594046+tiqac@users.noreply.github.com>2021-01-20 04:56:14 +1000
committerGitHub <noreply@github.com>2021-01-19 10:56:14 -0800
commit6690611750aa073430993b7cb67f51aeef402c61 (patch)
tree4f6ff7dd100931460a4e0ade93e6206739b2df80
parent816614a8eb56591f5977babdb8b16cb25c6c1f97 (diff)
downloadvcpkg-6690611750aa073430993b7cb67f51aeef402c61.tar.gz
vcpkg-6690611750aa073430993b7cb67f51aeef402c61.zip
[phnt] Update to 2020-12-21 (#15722)
* [phnt] Update to 2020-12-21 * Run x-add-version * version-string -> version-date * Run x-add-version
-rw-r--r--port_versions/baseline.json2
-rw-r--r--port_versions/p-/phnt.json5
-rw-r--r--ports/phnt/CONTROL4
-rw-r--r--ports/phnt/portfile.cmake9
-rw-r--r--ports/phnt/vcpkg.json6
5 files changed, 15 insertions, 11 deletions
diff --git a/port_versions/baseline.json b/port_versions/baseline.json
index 8d593ad05..b8659a2d9 100644
--- a/port_versions/baseline.json
+++ b/port_versions/baseline.json
@@ -4473,7 +4473,7 @@
"port-version": 0
},
"phnt": {
- "baseline": "2019-05-01",
+ "baseline": "2020-12-21",
"port-version": 0
},
"physfs": {
diff --git a/port_versions/p-/phnt.json b/port_versions/p-/phnt.json
index 74cf0ef95..b5239bae9 100644
--- a/port_versions/p-/phnt.json
+++ b/port_versions/p-/phnt.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "93f6534bed52cf8dfda970f4ddc5b51352eac5bd",
+ "version-date": "2020-12-21",
+ "port-version": 0
+ },
+ {
"git-tree": "fa7a8a91ecb156614e8a72657f76fd6220624525",
"version-string": "2019-05-01",
"port-version": 0
diff --git a/ports/phnt/CONTROL b/ports/phnt/CONTROL
deleted file mode 100644
index c563c0d34..000000000
--- a/ports/phnt/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: phnt
-Version: 2019-05-01
-Homepage: https://github.com/processhacker/phnt
-Description: Windows Native API header files \ No newline at end of file
diff --git a/ports/phnt/portfile.cmake b/ports/phnt/portfile.cmake
index a75aab70d..78f6a86c2 100644
--- a/ports/phnt/portfile.cmake
+++ b/ports/phnt/portfile.cmake
@@ -1,15 +1,12 @@
-#header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO processhacker/phnt
- REF 33cfd75a2be59bbde3aa4db3399a9e6bab66ae6a
- SHA512 90a1b38d27e35e7706e66dae0f4e151b50f5b74fbedf15ad165beece6a94b8a87263e16e1e0b891a324091c3769fd2ff2f541e11691b322413e575e6f08dc746
+ REF 3f19efe9fd402378c7cd12fe1c0aacd154c8cd3c
+ SHA512 88f1f5ab1f2c8b3100e47f43cee7bdcb412ef9f688e3840ddc8a78d8b75b4baf714aadc27829e0ea95d97a22031019d25f9916d09bb63cea37304e9c9c08285a
HEAD_REF master
)
-# Install headers
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/phnt RENAME copyright) \ No newline at end of file
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) \ No newline at end of file
diff --git a/ports/phnt/vcpkg.json b/ports/phnt/vcpkg.json
new file mode 100644
index 000000000..cc10293aa
--- /dev/null
+++ b/ports/phnt/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "phnt",
+ "version-date": "2020-12-21",
+ "description": "Windows Native API header files",
+ "homepage": "https://github.com/processhacker/phnt"
+}