diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-08-27 01:09:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 10:09:08 -0700 |
| commit | 383060ffb686cc87404cc972e39cb77d3b1ef4e1 (patch) | |
| tree | f23a0f2360f06da6b2747dfcddc5b2e6951a67c2 /ports/physfs | |
| parent | e0a5659774a65988fe1a8d3a9b1061efb0481336 (diff) | |
| download | vcpkg-383060ffb686cc87404cc972e39cb77d3b1ef4e1.tar.gz vcpkg-383060ffb686cc87404cc972e39cb77d3b1ef4e1.zip | |
[many ports] Add vcpkg_fixup_pkgconfig (#19721)
* [many ports]Add vcpkg_fixup_pkgconfig
* version
* Update ports/libepoxy/vcpkg.json
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Update versions/l-/libepoxy.json
* Update versions/l-/libepoxy.json
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports/physfs')
| -rw-r--r-- | ports/physfs/portfile.cmake | 11 | ||||
| -rw-r--r-- | ports/physfs/vcpkg.json | 8 |
2 files changed, 12 insertions, 7 deletions
diff --git a/ports/physfs/portfile.cmake b/ports/physfs/portfile.cmake index 593c84293..879a2b0e0 100644 --- a/ports/physfs/portfile.cmake +++ b/ports/physfs/portfile.cmake @@ -20,18 +20,19 @@ vcpkg_extract_source_archive_ex( string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" PHYSFS_STATIC) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" PHYSFS_SHARED) -vcpkg_configure_cmake( +vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA OPTIONS -DPHYSFS_BUILD_STATIC=${PHYSFS_STATIC} -DPHYSFS_BUILD_SHARED=${PHYSFS_SHARED} -DPHYSFS_BUILD_TEST=OFF ) -vcpkg_install_cmake() +vcpkg_cmake_install() vcpkg_copy_pdbs() -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) +vcpkg_fixup_pkgconfig() -file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/physfs/vcpkg.json b/ports/physfs/vcpkg.json index a61a33881..b740565ca 100644 --- a/ports/physfs/vcpkg.json +++ b/ports/physfs/vcpkg.json @@ -1,10 +1,14 @@ { "name": "physfs", - "version-string": "3.0.2", - "port-version": 5, + "version-semver": "3.0.2", + "port-version": 6, "description": "a library to provide abstract access to various archives", "homepage": "https://icculus.org/physfs/", "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, "zlib" ] } |
