diff options
| author | Phoebe <925731795@qq.com> | 2019-09-06 01:43:09 +0800 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-05 10:43:09 -0700 |
| commit | 33f15e40e858dcabddd1f1cc1b67368778516fbf (patch) | |
| tree | a123c6cad05a70a19cb5b4f1370348e42e9cfb5b /ports/freetds | |
| parent | e6564a5ad99d80cf77f4c269a73a049f17c845e2 (diff) | |
| download | vcpkg-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/freetds')
| -rw-r--r-- | ports/freetds/CONTROL | 3 | ||||
| -rw-r--r-- | ports/freetds/portfile.cmake | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/ports/freetds/CONTROL b/ports/freetds/CONTROL index 4a7a008bb..77be05f40 100644 --- a/ports/freetds/CONTROL +++ b/ports/freetds/CONTROL @@ -1,5 +1,6 @@ Source: freetds -Version: 1.1.6 +Version: 1.1.6-1 +Homepage: https://www.freetds.org Description: Implementation of the Tabular Data Stream protocol Default-Features: openssl diff --git a/ports/freetds/portfile.cmake b/ports/freetds/portfile.cmake index 65b8afde4..23812f85a 100644 --- a/ports/freetds/portfile.cmake +++ b/ports/freetds/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)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/freetds-1.1.6)
vcpkg_download_distfile(ARCHIVE
@@ -64,6 +56,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/freetds)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/freetds/COPYING ${CURRENT_PACKAGES_DIR}/share/freetds/copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
