summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/passwordsafe/files/CMake.patch')
-rw-r--r--app-admin/passwordsafe/files/CMake.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/passwordsafe/files/CMake.patch b/app-admin/passwordsafe/files/CMake.patch
new file mode 100644
index 000000000000..a9c276322a27
--- /dev/null
+++ b/app-admin/passwordsafe/files/CMake.patch
@@ -0,0 +1,13 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -345,8 +345,8 @@
+ COMMAND ${GZIP} ARGS -9 -n -c ${PROJECT_SOURCE_DIR}/docs/pwsafe.1 > pwsafe.1.gz
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
+ ADD_CUSTOM_TARGET(manpage ALL DEPENDS ${CMAKE_BINARY_DIR}/pwsafe.1.gz)
+- install (FILES ${CMAKE_BINARY_DIR}/pwsafe.1.gz TYPE MAN)
+- install (FILES "install/desktop/pwsafe.desktop" DESTINATION "share/applications")
++ install (FILES ${PROJECT_SOURCE_DIR}/docs/pwsafe.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 RENAME passwordsafe.1)
++ install (FILES "install/desktop/pwsafe.desktop" DESTINATION "share/applications" RENAME "passwordsafe.desktop")
+ install (FILES "install/metainfo/org.pwsafe.pwsafe.metainfo.xml" DESTINATION "share/metainfo")
+ install (FILES "install/graphics/48x48/pwsafe.png" DESTINATION "share/icons/hicolor/48x48/apps/")
+ install (FILES "install/graphics/128x128/pwsafe.png" DESTINATION "share/icons/hicolor/128x128/apps/")