File fix_cmake_rules.patch of Package vacuum-im-plugins-usermood

diff -r 541a02ccf6ae vacuum-im-plugins-usermood/cmake/config.cmake
--- a/cmake/config.cmake	Sun Oct 16 19:49:43 2011 +0300
+++ b/cmake/config.cmake	Sat Jul 21 19:50:53 2012 +0400
@@ -4,10 +4,11 @@
 	set(INSTALL_LIB_DIR "Frameworks")
 	set(INSTALL_RES_DIR "Resources")
 elseif (UNIX)
-	set(INSTALL_PREFIX "/usr/local")
-	set(INSTALL_APP_DIR "vacuum")
+	set(INSTALL_PREFIX "/usr/local" CACHE STRING "")
+	set(INSTALL_APP_DIR "vacuum" CACHE STRING "")
 	set(INSTALL_LIB_DIR "lib" CACHE STRING "Name of directory for shared libraries on target system")
 	set(INSTALL_RES_DIR "share")
+	set(INSTALL_DOC_DIR "${INSTALL_RES_DIR}/doc" CACHE STRING "")
 elseif (WIN32)
 	set(INSTALL_PREFIX "C:")
 	set(INSTALL_APP_DIR "vacuum")
@@ -41,7 +42,7 @@
 	set(INSTALL_LIBS "${INSTALL_LIB_DIR}")
 	set(INSTALL_PLUGINS "${INSTALL_LIB_DIR}/${INSTALL_APP_DIR}/plugins")
 	set(INSTALL_RESOURCES "${INSTALL_RES_DIR}/${INSTALL_APP_DIR}/resources")
-	set(INSTALL_DOCUMENTS "${INSTALL_RES_DIR}/doc/${INSTALL_APP_DIR}")
+	set(INSTALL_DOCUMENTS "${INSTALL_DOC_DIR}/${INSTALL_APP_DIR}")
 	set(INSTALL_TRANSLATIONS "${INSTALL_RES_DIR}/${INSTALL_APP_DIR}/translations")
 	set(INSTALL_INCLUDES "include/${INSTALL_APP_DIR}")
 endif (WIN32)