aboutsummaryrefslogtreecommitdiff
path: root/ports/glog
diff options
context:
space:
mode:
authorPhoebe <925731795@qq.com>2019-09-06 01:43:09 +0800
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-05 10:43:09 -0700
commit33f15e40e858dcabddd1f1cc1b67368778516fbf (patch)
treea123c6cad05a70a19cb5b4f1370348e42e9cfb5b /ports/glog
parente6564a5ad99d80cf77f4c269a73a049f17c845e2 (diff)
downloadvcpkg-33f15e40e858dcabddd1f1cc1b67368778516fbf.tar.gz
vcpkg-33f15e40e858dcabddd1f1cc1b67368778516fbf.zip
modernize many ports (#7986)
* modernize many ports * Update the code to handle copyright * Retriger to build qt5-gamepad
Diffstat (limited to 'ports/glog')
-rw-r--r--ports/glog/CONTROL2
-rw-r--r--ports/glog/portfile.cmake12
2 files changed, 2 insertions, 12 deletions
diff --git a/ports/glog/CONTROL b/ports/glog/CONTROL
index a94938acd..ec6c47c84 100644
--- a/ports/glog/CONTROL
+++ b/ports/glog/CONTROL
@@ -1,5 +1,5 @@
Source: glog
-Version: 0.4.0-1
+Version: 0.4.0-2
Homepage: https://github.com/google/glog
Description: C++ implementation of the Google logging module
Build-Depends: gflags
diff --git a/ports/glog/portfile.cmake b/ports/glog/portfile.cmake
index 978539217..0417b8676 100644
--- a/ports/glog/portfile.cmake
+++ b/ports/glog/portfile.cmake
@@ -1,11 +1,3 @@
-# Common Ambient Variables:
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# TARGET_TRIPLET is the current triplet (x86-windows, etc)
-# PORT is the current port name (zlib, etc)
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
-#
-
include(vcpkg_common_functions)
vcpkg_from_github(
@@ -31,6 +23,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/glog)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/glog/COPYING ${CURRENT_PACKAGES_DIR}/share/glog/copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)