![]() ![]() | ![]() |
File: [local] / ports / games / stratsgus / stargus / patches / Attic / patch-CMakeLists_txt (download)
Revision 1.1.1.1 (vendor branch), Tue Jan 27 21:32:38 2015 UTC (9 years, 6 months ago) by kirby
import stratagus engine and two mods |
$OpenBSD$ --- CMakeLists.txt.orig Tue Jan 27 21:57:42 2015 +++ CMakeLists.txt Tue Jan 27 21:59:12 2015 @@ -147,8 +147,8 @@ if(NOT WIN32) endif() if (NOT WIN32 AND NOT MAEMO) - add_definitions(-DDATA_PATH="${CMAKE_INSTALL_PREFIX}/share/games/stratagus/stargus") - add_definitions(-DSCRIPTS_PATH="${CMAKE_INSTALL_PREFIX}/share/games/stratagus/stargus") + add_definitions(-DDATA_PATH="${CMAKE_INSTALL_PREFIX}/share/stratagus/stargus") + add_definitions(-DSCRIPTS_PATH="${CMAKE_INSTALL_PREFIX}/share/stratagus/stargus") add_definitions(-DSTRATAGUS_BIN="${STRATAGUS}") endif() @@ -226,14 +226,14 @@ endif() ########### install files ############### -install(TARGETS stargus DESTINATION games) +install(TARGETS stargus DESTINATION share) install(TARGETS scmconvert startool DESTINATION bin) install(FILES stargus.png DESTINATION share/pixmaps) install(FILES stargus.desktop DESTINATION share/applications) -install(DIRECTORY scripts DESTINATION share/games/stratagus/stargus) -install(FILES mpqlist.txt DESTINATION share/games/stratagus/stargus) -install(FILES fog.png DESTINATION share/games/stratagus/stargus/graphics/tilesets) +install(DIRECTORY scripts DESTINATION share/stratagus/stargus) +install(FILES mpqlist.txt DESTINATION share/stratagus/stargus) +install(FILES fog.png DESTINATION share/stratagus/stargus/graphics/tilesets) if(MAEMO) install(TARGETS starextract DESTINATION bin)