freebsd-ports/multimedia/zoneminder-h264/files/patch-misc_CMakeLists.txt
Kurt Jaeger 4a2617de08 New port: multimedia/zoneminder-h264
Zoneminder is an all-in-one GPL'd security and surveillance camera
solution. Fully web-based system for viewing and analyzing security
camera feeds. This version has H.264 support.

WWW: http://www.zoneminder.com/

PR:		214564
Submitted by:	Ivan <bsd@abinet.ru>
2016-12-08 06:28:33 +00:00

12 lines
1 KiB
Text

--- misc/CMakeLists.txt.orig 2016-10-03 17:21:50 UTC
+++ misc/CMakeLists.txt
@@ -13,6 +13,7 @@ configure_file(zoneminder-tmpfiles.conf.
#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/apache.conf" "${CMAKE_CURRENT_BINARY_DIR}/logrotate.conf" "${CMAKE_CURRENT_BINARY_DIR}/syslog.conf" DESTINATION "${CMAKE_INSTALL_DATADIR}/zoneminder/misc")
# Install Policykit rules and actions into the proper folders
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.policy" DESTINATION "${PC_POLKIT_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/actions")
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.rules" DESTINATION "${PC_POLKIT_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/rules.d")
+# polkit is not required for FreeBSD
+#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.policy" DESTINATION "${PC_POLKIT_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/actions")
+#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.rules" DESTINATION "${PC_POLKIT_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/rules.d")