+IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+
+ SET(INSTALL_SUBDIR_BIN "SuperTux.app/Contents/MacOS/")
+ SET(INSTALL_SUBDIR_SHARE "SuperTux.app/Contents/Resources/data/")
+ SET(INSTALL_SUBDIR_DOC "SuperTux.app/Contents/Resources/")
+
+ INSTALL(FILES ${SUPERTUX_SOURCE_DIR}/tools/darwin/info.plist DESTINATION "SuperTux.app/Contents/")
+
+ INSTALL(FILES ${SUPERTUX_SOURCE_DIR}/data/images/engine/icons/supertux.png ${SUPERTUX_SOURCE_DIR}/data/images/engine/icons/supertux.icns DESTINATION "SuperTux.app/Contents/Resources/")
+
+ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")