aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed John <ted@brambles.org>2017-07-14 21:38:37 +0100
committerTed John <ted@brambles.org>2017-07-14 21:38:37 +0100
commit8c9744fa14c9b8ed643f906aeb31e3b231577133 (patch)
treea3862feed9ad1c82d8572a2b2c8ed79dc0f7f26b
parentf28b8a99faad4b3d1f22416baa9b4cb9f604b223 (diff)
downloadvcpkg-8c9744fa14c9b8ed643f906aeb31e3b231577133.tar.gz
vcpkg-8c9744fa14c9b8ed643f906aeb31e3b231577133.zip
[duktape] Copy license from build tree instead
-rw-r--r--ports/duktape/LICENSE25
-rw-r--r--ports/duktape/portfile.cmake2
2 files changed, 1 insertions, 26 deletions
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()