Index: code/branches/mac_HS16/cmake/CopyLibPhase.cmake
===================================================================
--- code/branches/mac_HS16/cmake/CopyLibPhase.cmake	(revision 11278)
+++ code/branches/mac_HS16/cmake/CopyLibPhase.cmake	(revision 11278)
@@ -0,0 +1,30 @@
+SET(DEP_INCLUDE_DIR   ${DEPENDENCY_PACKAGE_DIR}/include)
+SET(DEP_LIBRARY_DIR   ${DEPENDENCY_PACKAGE_DIR}/lib)
+SET(DEP_BINARY_DIR    ${DEPENDENCY_PACKAGE_DIR}/bin)
+SET(DEP_FRAMEWORK_DIR ${DEPENDENCY_PACKAGE_DIR}/Library/Frameworks)
+
+# Install on OSX
+foreach(target IN ITEMS ${CMAKE_CONFIGURATION_TYPES})
+    file(GLOB_RECURSE dep_frameworks FOLLOW_SYMLINKS "${DEP_FRAMEWORK_DIR}/*")
+    file(GLOB_RECURSE dep_libraries FOLLOW_SYMLINKS "${DEP_LIBRARY_DIR}/*")
+
+    foreach(p IN LISTS dep_frameworks)
+        STRING(REGEX REPLACE "${DEP_FRAMEWORK_DIR}" "" rel_p ${p})
+        configure_file(${p}
+        "${CMAKE_BINARY_DIR}/bin/${target}/Orxonox.app/Contents/Frameworks/${rel_p}" COPYONLY)
+    endforeach()
+
+    foreach(p IN LISTS dep_libraries)
+        STRING(REGEX REPLACE "${DEP_LIBRARY_DIR}" "" rel_p ${p})
+        configure_file(${p}
+        "${CMAKE_BINARY_DIR}/bin/${target}/Orxonox.app/Contents/Frameworks/${rel_p}" COPYONLY)
+    endforeach()
+
+    file(GLOB_RECURSE dep_plugins FOLLOW_SYMLINKS "${DEP_BINARY_DIR}/*")
+
+    foreach(p IN LISTS dep_plugins)
+        STRING(REGEX REPLACE "${DEP_BINARY_DIR}" "" rel_p ${p})
+        configure_file(${p}
+        "${CMAKE_BINARY_DIR}/bin/${target}/Orxonox.app/Contents/Plugins/${rel_p}" COPYONLY)
+    endforeach()
+endforeach()
Index: code/branches/mac_HS16/cmake/LibraryConfig.cmake
===================================================================
--- code/branches/mac_HS16/cmake/LibraryConfig.cmake	(revision 11216)
+++ code/branches/mac_HS16/cmake/LibraryConfig.cmake	(revision 11278)
@@ -53,5 +53,5 @@
     # Let CMake automatically download and extract the dependency package on Mac OS X
     # TODO: Handle download errors and always select newest package
-    SET(_dep_package_current "OrxonoxDeps_110428_2.0_OSX.tar.bz2")
+    SET(_dep_package_current "OrxonoxDeps_110530_3.0_OSX.tar.bz2")
     SET(_dep_package_url "http://svn.orxonox.net/ogre/apple/precompiled_dependencies")
     MESSAGE(STATUS "Downloading Mac OS X dependency package.")
@@ -159,7 +159,8 @@
 ##### Boost #####
 # Expand the next statement if newer boost versions are released
+SET(Boost_USE_MULTITHREADED OFF) # on newer version -mt is dropped
 SET(Boost_ADDITIONAL_VERSIONS 1.40 1.40.0 1.41 1.41.0 1.42 1.42.0 1.43 1.43.0
                               1.44 1.44.0 1.45 1.45.0 1.46 1.46.0 1.46.1 1.49.0
-                              1.53.0)
+                          1.53.0)
 FIND_PACKAGE(Boost 1.40 REQUIRED thread filesystem system date_time)
 # No auto linking, so this option is useless anyway
@@ -213,3 +214,2 @@
 # Note 2: Render systems are found automatically (at least one required)
 CHECK_OGRE_PLUGINS("Plugin_ParticleFX" "Plugin_CgProgramManager")
-
Index: code/branches/mac_HS16/cmake/PackageConfigOSX.cmake
===================================================================
--- code/branches/mac_HS16/cmake/PackageConfigOSX.cmake	(revision 11216)
+++ code/branches/mac_HS16/cmake/PackageConfigOSX.cmake	(revision 11278)
@@ -26,9 +26,9 @@
 INCLUDE(CheckPackageVersion)
 
-CHECK_PACKAGE_VERSION(2.0)
+CHECK_PACKAGE_VERSION(3.0)
 
 IF(NOT _INTERNAL_PACKAGE_MESSAGE)
   MESSAGE(STATUS "Using library package for the dependencies.")
-  
+
   # The following shell script sets the appropriate install_names for our libraries
   # and therefore it must be run before anything else is set, dep-package-wise.
@@ -38,5 +38,5 @@
       COMMAND ${DEPENDENCY_PACKAGE_DIR}/install_dependencies.sh
       WORKING_DIRECTORY ${DEPENDENCY_PACKAGE_DIR}
-      OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me 
+      OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me
     )
   ENDIF()
@@ -62,11 +62,4 @@
 SET(OGRE_NEEDS_BOOST TRUE)
 
-# For OS X 10.5 we have to ship modified headers to make it compile
-# on gcc >= 4.2 (binaries stay the same)
-# Sets the library path for the FIND_LIBRARY
-IF(CMAKE_SYSTEM_VERSION STREQUAL "10.5")
-  SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal)
-ENDIF()
-
 ### INSTALL ###
 
@@ -78,26 +71,2 @@
 #  DESTINATION lib/tcl
 #)
-
-# TODO: Install on OSX
-IF(FALSE)
-  ## DEBUG
-  # When installing a debug version, we really can't know which libraries
-  # are used in released mode because there might be deps of deps.
-  # --> Copy all of them, except the debug databases
-  INSTALL(
-    DIRECTORY ${DEP_BINARY_DIR}/
-    DESTINATION bin
-    CONFIGURATIONS Debug
-    REGEX "^.*\\.pdb$" EXCLUDE
-  )
-
-  ## RELEASE
-  # Try to filter out all the debug libraries. If the regex doesn't do the
-  # job anymore, simply adjust it.
-  INSTALL(
-    DIRECTORY ${DEP_BINARY_DIR}/
-    DESTINATION bin
-    CONFIGURATIONS RelForDevs Release RelWithDebInfo MinSizeRel
-    REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE
-  )
-ENDIF()
Index: code/branches/mac_HS16/cmake/tools/FindCEGUI.cmake
===================================================================
--- code/branches/mac_HS16/cmake/tools/FindCEGUI.cmake	(revision 11216)
+++ code/branches/mac_HS16/cmake/tools/FindCEGUI.cmake	(revision 11278)
@@ -91,4 +91,7 @@
 )
 
+MESSAGE("Looking for ceguitolua++")
+MESSAGE(${DEP_INCLUDE_DIR})
+
 # Find CEGUI Tolua++ include file
 # We only need to add this path since we use tolua++ like a normal
@@ -99,7 +102,5 @@
     # For newer CEGUI versions >= 0.7
     ${CEGUILUA_INCLUDE_DIR}/support/tolua++
-    ${DEP_INCLUDE_DIR}/tolua++/include
-    # For Mac OS X, tolua++ is a separate framework in the dependency package
-    ${DEP_FRAMEWORK_DIR}
+    ${DEP_INCLUDE_DIR}/tolua++
   NO_DEFAULT_PATH # Don't attempt to find tolua++ installed on the system
 )
