From 8c9744fa14c9b8ed643f906aeb31e3b231577133 Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 14 Jul 2017 21:38:37 +0100 Subject: [PATCH] [duktape] Copy license from build tree instead --- ports/duktape/LICENSE | 25 ------------------------- ports/duktape/portfile.cmake | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 ports/duktape/LICENSE diff --git a/ports/duktape/LICENSE b/ports/duktape/LICENSE deleted file mode 100644 index e8497318b..000000000 --- a/ports/duktape/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -=============== -Duktape license -=============== - -(http://opensource.org/licenses/MIT) - -Copyright (c) 2013-2017 by Duktape authors (see AUTHORS.rst) - -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/duktape/portfile.cmake b/ports/duktape/portfile.cmake index b6e10396b..84278616c 100644 --- a/ports/duktape/portfile.cmake +++ b/ports/duktape/portfile.cmake @@ -25,6 +25,6 @@ vcpkg_install_cmake() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) # Copy copright information -file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/duktape RENAME copyright) +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/duktape" RENAME "copyright") vcpkg_copy_pdbs()