diff options
Diffstat (limited to 'project/cmake/scripts/freebsd')
| -rw-r--r-- | project/cmake/scripts/freebsd/ArchSetup.cmake (renamed from project/cmake/scripts/freebsd/archsetup.cmake) | 3 | ||||
| l--------- | project/cmake/scripts/freebsd/Install.cmake | 1 | ||||
| l--------- | project/cmake/scripts/freebsd/Macros.cmake | 1 | ||||
| l--------- | project/cmake/scripts/freebsd/PathSetup.cmake | 1 | ||||
| -rw-r--r-- | project/cmake/scripts/freebsd/install.cmake | 60 | ||||
| -rw-r--r-- | project/cmake/scripts/freebsd/macros.cmake | 1 | ||||
| -rw-r--r-- | project/cmake/scripts/freebsd/pathsetup.cmake | 1 |
7 files changed, 3 insertions, 65 deletions
diff --git a/project/cmake/scripts/freebsd/archsetup.cmake b/project/cmake/scripts/freebsd/ArchSetup.cmake index b85121f..013205c 100644 --- a/project/cmake/scripts/freebsd/archsetup.cmake +++ b/project/cmake/scripts/freebsd/ArchSetup.cmake | |||
| @@ -14,6 +14,3 @@ else() | |||
| 14 | message(WARNING "unknown CPU: ${CPU}") | 14 | message(WARNING "unknown CPU: ${CPU}") |
| 15 | endif() | 15 | endif() |
| 16 | endif() | 16 | endif() |
| 17 | |||
| 18 | set(LIRC_DEVICE "\"/dev/lircd\"" CACHE STRING "LIRC device to use") | ||
| 19 | set(DEP_DEFINES -DLIRC_DEVICE=${LIRC_DEVICE}) | ||
diff --git a/project/cmake/scripts/freebsd/Install.cmake b/project/cmake/scripts/freebsd/Install.cmake new file mode 120000 index 0000000..28ce012 --- /dev/null +++ b/project/cmake/scripts/freebsd/Install.cmake | |||
| @@ -0,0 +1 @@ | |||
| ../linux/Install.cmake \ No newline at end of file | |||
diff --git a/project/cmake/scripts/freebsd/Macros.cmake b/project/cmake/scripts/freebsd/Macros.cmake new file mode 120000 index 0000000..2fdbb25 --- /dev/null +++ b/project/cmake/scripts/freebsd/Macros.cmake | |||
| @@ -0,0 +1 @@ | |||
| ../linux/Macros.cmake \ No newline at end of file | |||
diff --git a/project/cmake/scripts/freebsd/PathSetup.cmake b/project/cmake/scripts/freebsd/PathSetup.cmake new file mode 120000 index 0000000..6786c1c --- /dev/null +++ b/project/cmake/scripts/freebsd/PathSetup.cmake | |||
| @@ -0,0 +1 @@ | |||
| ../linux/PathSetup.cmake \ No newline at end of file | |||
diff --git a/project/cmake/scripts/freebsd/install.cmake b/project/cmake/scripts/freebsd/install.cmake deleted file mode 100644 index 8247416..0000000 --- a/project/cmake/scripts/freebsd/install.cmake +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | set(libdir ${CMAKE_INSTALL_PREFIX}/lib) | ||
| 2 | set(bindir ${CMAKE_INSTALL_PREFIX}/bin) | ||
| 3 | |||
| 4 | configure_file(${CORE_SOURCE_DIR}/tools/Linux/xbmc.sh.in | ||
| 5 | ${CORE_BUILD_DIR}/scripts/xbmc @ONLY) | ||
| 6 | configure_file(${CORE_SOURCE_DIR}/tools/Linux/xbmc-standalone.sh.in | ||
| 7 | ${CORE_BUILD_DIR}/scripts/xbmc-standalone @ONLY) | ||
| 8 | |||
| 9 | install(TARGETS xbmc-xrandr DESTINATION lib/xbmc) | ||
| 10 | install(FILES ${addon_bindings} DESTINATION include/xbmc) | ||
| 11 | install(FILES ${cmake_files} ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/modules/xbmc-config.cmake | ||
| 12 | DESTINATION lib/xbmc) | ||
| 13 | install(PROGRAMS ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/xbmc | ||
| 14 | ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/xbmc-standalone | ||
| 15 | DESTINATION bin) | ||
| 16 | install(FILES ${CORE_SOURCE_DIR}/tools/Linux/FEH.py | ||
| 17 | DESTINATION share/xbmc) | ||
| 18 | |||
| 19 | install(FILES ${CORE_SOURCE_DIR}/tools/Linux/xbmc-xsession.desktop | ||
| 20 | RENAME XBMC.desktop | ||
| 21 | DESTINATION share/xsessions) | ||
| 22 | |||
| 23 | install(FILES ${CORE_SOURCE_DIR}/copying.txt | ||
| 24 | ${CORE_SOURCE_DIR}/LICENSE.GPL | ||
| 25 | ${CORE_SOURCE_DIR}/version.txt | ||
| 26 | ${CORE_SOURCE_DIR}/docs/README.freebsd | ||
| 27 | DESTINATION share/doc/xbmc) | ||
| 28 | |||
| 29 | foreach(texture ${XBT_FILES}) | ||
| 30 | string(REPLACE "${CMAKE_BINARY_DIR}/" "" dir ${texture}) | ||
| 31 | get_filename_component(dir ${dir} PATH) | ||
| 32 | install(FILES ${texture} | ||
| 33 | DESTINATION share/xbmc/${dir}) | ||
| 34 | endforeach() | ||
| 35 | |||
| 36 | foreach(wraplib ${WRAP_FILES}) | ||
| 37 | get_filename_component(dir ${wraplib} PATH) | ||
| 38 | install(PROGRAMS ${CMAKE_BINARY_DIR}/${wraplib} | ||
| 39 | DESTINATION lib/xbmc/${dir}) | ||
| 40 | endforeach() | ||
| 41 | |||
| 42 | foreach(file ${install_data}) | ||
| 43 | get_filename_component(dir ${file} PATH) | ||
| 44 | install(FILES ${CMAKE_BINARY_DIR}/${file} | ||
| 45 | DESTINATION share/xbmc/${dir}) | ||
| 46 | endforeach() | ||
| 47 | |||
| 48 | install(CODE "file(STRINGS ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/extra-installs dirs) | ||
| 49 | foreach(dir \${dirs}) | ||
| 50 | file(GLOB_RECURSE FILES RELATIVE ${CMAKE_BINARY_DIR} \${dir}/*) | ||
| 51 | foreach(file \${FILES}) | ||
| 52 | get_filename_component(dir \${file} PATH) | ||
| 53 | file(INSTALL \${file} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xbmc/\${dir}) | ||
| 54 | endforeach() | ||
| 55 | endforeach()") | ||
| 56 | foreach(subdir ${build_dirs}) | ||
| 57 | string(REPLACE " " ";" subdir ${subdir}) | ||
| 58 | list(GET subdir 0 id) | ||
| 59 | install(CODE "execute_process(COMMAND make -C ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/${id}/src/${id}-build install)") | ||
| 60 | endforeach() | ||
diff --git a/project/cmake/scripts/freebsd/macros.cmake b/project/cmake/scripts/freebsd/macros.cmake deleted file mode 100644 index f0bf7ba..0000000 --- a/project/cmake/scripts/freebsd/macros.cmake +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | include(../linux/macros.cmake) | ||
diff --git a/project/cmake/scripts/freebsd/pathsetup.cmake b/project/cmake/scripts/freebsd/pathsetup.cmake deleted file mode 100644 index 1fb45b6..0000000 --- a/project/cmake/scripts/freebsd/pathsetup.cmake +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | include(${PROJECT_SOURCE_DIR}/scripts/linux/pathsetup.cmake) | ||
