$NetBSD: patch-CMakeLists.txt,v 1.3 2023/11/21 16:26:36 wiz Exp $

Fix man page installation path.

--- CMakeLists.txt.orig	2023-11-21 16:16:22.166786047 +0000
+++ CMakeLists.txt
@@ -767,7 +767,7 @@ if(BUILD_BUNDLE)
     endif()
 else()
     install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1"
-            DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1")
+            DESTINATION "${CMAKE_INSTALL_PREFIX}/${PKGMANDIR}/man1")
 endif()
 
 if(WIN32)
