aboutsummaryrefslogtreecommitdiff
path: root/ports/tmxparser
diff options
context:
space:
mode:
Diffstat (limited to 'ports/tmxparser')
-rw-r--r--ports/tmxparser/CONTROL2
-rw-r--r--ports/tmxparser/portfile.cmake4
2 files changed, 2 insertions, 4 deletions
diff --git a/ports/tmxparser/CONTROL b/ports/tmxparser/CONTROL
index 7a3e3e2f8..44954e36e 100644
--- a/ports/tmxparser/CONTROL
+++ b/ports/tmxparser/CONTROL
@@ -1,4 +1,4 @@
Source: tmxparser
-Version: 2.1.0-2
+Version: 2.1.0-3
Description: C++11 library for parsing the maps generated by the Map Editor called Tiled.
Build-Depends: zlib, tinyxml2
diff --git a/ports/tmxparser/portfile.cmake b/ports/tmxparser/portfile.cmake
index ffe58c89f..024d14d09 100644
--- a/ports/tmxparser/portfile.cmake
+++ b/ports/tmxparser/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sainteos/tmxparser
@@ -34,4 +32,4 @@ else()
endif()
# Handle copyright
-configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/tmxparser/copyright COPYONLY)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)