aboutsummaryrefslogtreecommitdiff
path: root/ports/libmikmod
diff options
context:
space:
mode:
authorzi-m <zi.m.github.com@gmail.com>2019-09-07 23:08:23 +0200
committerzi-m <zi.m.github.com@gmail.com>2019-09-07 23:08:23 +0200
commit108faffff4c995bc36c08695f72c14ae0f21163c (patch)
tree88a01a6076f142e4ad1b6002f4c7dc3730aa50ca /ports/libmikmod
parent7fd21c5d827c2d77b21270646c2fe53704245747 (diff)
parent4cffadc18891aa6cc5a512cf500ad468c54cd3d0 (diff)
downloadvcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.tar.gz
vcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.zip
Merge remote-tracking branch 'upstream/master' into wxchartdir
Diffstat (limited to 'ports/libmikmod')
-rw-r--r--ports/libmikmod/CONTROL2
-rw-r--r--ports/libmikmod/portfile.cmake18
2 files changed, 3 insertions, 17 deletions
diff --git a/ports/libmikmod/CONTROL b/ports/libmikmod/CONTROL
index bc289f59c..fbe8b7900 100644
--- a/ports/libmikmod/CONTROL
+++ b/ports/libmikmod/CONTROL
@@ -1,5 +1,5 @@
Source: libmikmod
-Version: 3.3.11.1-4
+Version: 3.3.11.1-5
Homepage: https://sourceforge.net/projects/mikmod/
Description: Mikmod is a module player and library supporting many formats, including mod, s3m, it, and xm.
Build-Depends: openal-soft
diff --git a/ports/libmikmod/portfile.cmake b/ports/libmikmod/portfile.cmake
index ef0b6d5e0..149e4429a 100644
--- a/ports/libmikmod/portfile.cmake
+++ b/ports/libmikmod/portfile.cmake
@@ -1,15 +1,3 @@
-# Common Ambient Variables:
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
-# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
-# PORT = current port name (zlib, etc)
-# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
-# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
-# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
-#
-
include(vcpkg_common_functions)
vcpkg_download_distfile(ARCHIVE
@@ -55,12 +43,10 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/COPYING.LESSER DESTINATION ${CURRENT_PACKAGES_DIR}/share/libmikmod)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/libmikmod/COPYING.LESSER ${CURRENT_PACKAGES_DIR}/share/libmikmod/copyright)
-
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
+
+file(INSTALL ${SOURCE_PATH}/COPYING.LESSER DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)