diff --git a/ports/wren/portfile.cmake b/ports/wren/portfile.cmake index dbd71b8df6..d20b518b45 100644 --- a/ports/wren/portfile.cmake +++ b/ports/wren/portfile.cmake @@ -3,25 +3,24 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO wren-lang/wren - REF d1a0d0682ac072fa20f2dcca356dac06565e93a1 - SHA512 d6b7555da10ea209d04308467563ec401f699a22ca8524e4ae65fd050b0403c5e70430047dbb6a883b8021ab50525c17bb63d76543e7c59dfe4b521cfde6c413 + REF 4a18fc489f9ea3d253b20dd40f4cdad0d6bb40eb #0.4.0 + SHA512 b3d79e9cb647e52db06d5cddfc8c93d05ae0e8d87f0f879ac2b812fcc7f55e018d21d3b04d62eaeb12e6d931b5e43fbe357b187e7f446e86e39be015c51c2eee HEAD_REF master ) -file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) +file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DCOMPILE_AS_CPP=OFF ) -vcpkg_install_cmake() +vcpkg_cmake_install() -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") # Handle copyright -configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) +configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) vcpkg_copy_pdbs() diff --git a/ports/wren/vcpkg.json b/ports/wren/vcpkg.json index 09f2b8aed7..4cb9889ef8 100644 --- a/ports/wren/vcpkg.json +++ b/ports/wren/vcpkg.json @@ -1,7 +1,13 @@ { "name": "wren", - "version-string": "2019-07-01", - "port-version": 1, + "version": "0.4.0", "description": "Wren is a small, fast, class-based concurrent scripting language.", - "homepage": "https://github.com/wren-lang/wren" + "homepage": "https://github.com/wren-lang/wren", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index f913b8da1c..ccf87e5784 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7497,8 +7497,8 @@ "port-version": 2 }, "wren": { - "baseline": "2019-07-01", - "port-version": 1 + "baseline": "0.4.0", + "port-version": 0 }, "wt": { "baseline": "4.6.1", diff --git a/versions/w-/wren.json b/versions/w-/wren.json index 98fc8dfc4d..565c88763c 100644 --- a/versions/w-/wren.json +++ b/versions/w-/wren.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d845edef970204677adb20d8f51acf22b1c9fb00", + "version": "0.4.0", + "port-version": 0 + }, { "git-tree": "558979dc3ff66a524b930d85fbf856679ebd0208", "version-string": "2019-07-01",