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/libxslt | |
| 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/libxslt')
| -rw-r--r-- | ports/libxslt/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libxslt/portfile.cmake | 21 |
2 files changed, 7 insertions, 16 deletions
diff --git a/ports/libxslt/CONTROL b/ports/libxslt/CONTROL index 150282ecb..4c02d9154 100644 --- a/ports/libxslt/CONTROL +++ b/ports/libxslt/CONTROL @@ -1,5 +1,5 @@ Source: libxslt -Version: 1.1.33-1 +Version: 1.1.33-2 Homepage: http://xmlsoft.org/XSLT/ Description: Libxslt is a XSLT library implemented in C for XSLT 1.0 and most of EXSLT Build-Depends: libxml2, liblzma diff --git a/ports/libxslt/portfile.cmake b/ports/libxslt/portfile.cmake index 5cd13832e..6b5851e72 100644 --- a/ports/libxslt/portfile.cmake +++ b/ports/libxslt/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( @@ -14,9 +6,9 @@ vcpkg_from_github( REF v1.1.33 SHA512 2c20b2af3c19952b25b10dca0d95fe227602f7f815db352b04dd061c52c458d745f92c597ce08ac9207ba0fbe0169ea2fb78263d8590743717553f84463fe1d9 HEAD_REF master - PATCHES - 0001-Fix-makefile.patch - 0002-Fix-lzma.patch + PATCHES + 0001-Fix-makefile.patch + 0002-Fix-lzma.patch ) find_program(NMAKE nmake) @@ -168,8 +160,7 @@ else() file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/libexslt_a.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libexslt.lib) endif() -# Handle copyright -file(COPY ${SOURCE_PATH}/Copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxslt) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/libxslt/Copyright ${CURRENT_PACKAGES_DIR}/share/libxslt/copyright) +vcpkg_copy_pdbs() + +file(INSTALL ${SOURCE_PATH}/Copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -vcpkg_copy_pdbs()
\ No newline at end of file |
