diff --git a/ports/exprtk/copyright b/ports/exprtk/copyright deleted file mode 100644 index f52eae229b5a4d..00000000000000 --- a/ports/exprtk/copyright +++ /dev/null @@ -1,8 +0,0 @@ -Copyright 1999-2022 Arash Partow -https://www.partow.net/programming/exprtk/index.html - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/ports/exprtk/portfile.cmake b/ports/exprtk/portfile.cmake index 3217882ebd973f..e65acf31e4dd00 100644 --- a/ports/exprtk/portfile.cmake +++ b/ports/exprtk/portfile.cmake @@ -1,10 +1,11 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO ArashPartow/exprtk - REF 806C519C91FD08BA4FA19380DBF3F6E42DE9E2D1 - SHA512 A323CCAF161FD0087FD8208D1B24C2A3FD422F8875E29B22AE70E6DD2F10F396F6BF1AD36D3FFDC10D32314AE8F83749974301A349BE0F27733292BCF5193640 + REF ${VERSION} + SHA512 1493b68929d3cb4e97c0180ef6f111ae4edbbee072ab78223976005b8402e4e7b56d94f013fbbc009f4db2652167fa3b4ba3c33d4029572ebbe61a36df9da9e4 HEAD_REF master ) -file(COPY ${SOURCE_PATH}/exprtk.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) -file(COPY ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) +file(COPY "${SOURCE_PATH}/exprtk.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt") diff --git a/ports/exprtk/vcpkg.json b/ports/exprtk/vcpkg.json index 90bc3a4283a571..fa6f24d5e4e6c6 100644 --- a/ports/exprtk/vcpkg.json +++ b/ports/exprtk/vcpkg.json @@ -1,7 +1,6 @@ { "name": "exprtk", - "version-date": "2022-01-01", - "port-version": 2, + "version": "0.0.3", "description": "Simple to use, easy to integrate and extremely efficient run-time C++ mathematical expression parser and evaluation engine.", "homepage": "https://www.partow.net/programming/exprtk/index.html", "license": "MIT" diff --git a/versions/baseline.json b/versions/baseline.json index 0d3c864425eb4e..6356e161eb9821 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2625,8 +2625,8 @@ "port-version": 0 }, "exprtk": { - "baseline": "2022-01-01", - "port-version": 2 + "baseline": "0.0.3", + "port-version": 0 }, "ezc3d": { "baseline": "1.5.11", diff --git a/versions/e-/exprtk.json b/versions/e-/exprtk.json index 473d7ccab0a64b..f95af0d606ec80 100644 --- a/versions/e-/exprtk.json +++ b/versions/e-/exprtk.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "266380073f12896cc91ff1113f8e2ae7374be9d6", + "version": "0.0.3", + "port-version": 0 + }, { "git-tree": "f643b034afeb28a7e39b6556eb78594aa49181a4", "version-date": "2022-01-01",