--- CMakeLists.txt.orig	2025-09-30 07:02:39.478040000 +0200
+++ CMakeLists.txt	2025-09-30 07:06:07.767455000 +0200
@@ -511,19 +511,11 @@
   ENDIF(HAVE_LINUX_SPI_H)
 ENDIF(INCLUDE_SPI)
 
-FIND_PROGRAM(GIT_EXECUTABLE git
+FIND_PROGRAM(GIT_EXECUTABLE NOgitNO
   DOC "git command line client")
 
 include_directories(${CMAKE_SOURCE_DIR}/main)
 
-# a custom target that is always built
-ADD_CUSTOM_TARGET(revisiontag ALL)
-
-# creates appversion.h using cmake script
-ADD_CUSTOM_COMMAND(TARGET revisiontag PRE_BUILD COMMAND ${CMAKE_COMMAND}
-   -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
-   -P ${CMAKE_CURRENT_SOURCE_DIR}/getgit.cmake)
-
 MESSAGE(STATUS "###########################")
 MESSAGE(STATUS "Compiling Revision #${ProjectRevision}")
 MESSAGE(STATUS "###########################")
@@ -533,10 +525,6 @@
 set (domoticz_VERSION_MINOR 1)
 set (domoticz_VERSION_PATCH ${ProjectRevision})
 
-# explicitly say that the executable depends on the revisiontag
-add_dependencies(domoticz revisiontag)
-add_dependencies(domoticztester revisiontag)
-
 TEST_BIG_ENDIAN(BIGENDIAN)
 IF(${BIGENDIAN})
      ADD_DEFINITIONS(-DIS_BIG_ENDIAN)
@@ -838,7 +826,7 @@
 
 SET(CPACK_GENERATOR "DEB")
 SET(CPACK_PACKAGE_NAME "domoticz")
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${domoticz}-Home Automation System (Domotica).")
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${domoticz}-Home Automation System (Domoticz).")
 SET(CPACK_PACKAGE_VENDOR "Domoticz.com")
 SET(CPACK_PACKAGE_CONTACT "info@domoticz.com")
 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/License.txt")
@@ -865,6 +853,9 @@
   set(CMAKE_INSTALL_PREFIX "/opt/${CPACK_PACKAGE_NAME}" CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
 ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
 
+# FreeBSD
+set(CMAKE_INSTALL_PREFIX "XXXPREFIXXXX")
+
 install(TARGETS domoticz DESTINATION ${CMAKE_INSTALL_PREFIX})
 install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/www DESTINATION ${CMAKE_INSTALL_PREFIX})
 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/License.txt DESTINATION ${CMAKE_INSTALL_PREFIX})
@@ -873,6 +864,3 @@
 install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripts DESTINATION ${CMAKE_INSTALL_PREFIX} USE_SOURCE_PERMISSIONS)
 install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/plugins DESTINATION ${CMAKE_INSTALL_PREFIX})
 install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dzVents DESTINATION ${CMAKE_INSTALL_PREFIX})
-IF(OpenZWave)
-  install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Config DESTINATION ${CMAKE_INSTALL_PREFIX})
-ENDIF()
