openbsd-ports/games/supertux/patches/patch-CMakeLists_txt

24 lines
1.2 KiB
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.2 2017/04/18 16:28:50 pascal Exp $
--- CMakeLists.txt.orig Sat Nov 5 14:53:17 2016
+++ CMakeLists.txt Mon Apr 17 21:46:33 2017
@@ -55,7 +55,7 @@ INCLUDE(ConfigureFiles)
INCLUDE(ExternalProject)
## For autopackage
-SET(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/games/supertux2")
+SET(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/supertux2")
SET(BUILD_DATA_DIR "${CMAKE_CURRENT_SOURCE_DIR}/data")
SET(BUILD_CONFIG_DATA_DIR "${CMAKE_BINARY_DIR}/data")
@@ -713,8 +713,8 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND DISABLE_C
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND DISABLE_CPACK_BUNDLING)
- SET(INSTALL_SUBDIR_BIN "games" CACHE STRING "Installation subdir for binaries")
- SET(INSTALL_SUBDIR_SHARE "share/games/supertux2" CACHE STRING "Installation subdir for data")
+ SET(INSTALL_SUBDIR_BIN "bin" CACHE STRING "Installation subdir for binaries")
+ SET(INSTALL_SUBDIR_SHARE "share/supertux2" CACHE STRING "Installation subdir for data")
SET(INSTALL_SUBDIR_DOC "share/doc/supertux2" CACHE STRING "Installation subdir for docs")
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/supertux2.desktop DESTINATION "share/applications")