net/ocsync: Install manpages into ${PKGMANDIR}.

This project uses CMake to configure the software.  Force the
manpages to be installed into ${CMAKE_INSTALL_MANDIR}, which is
defined by the included GNUInstallDirs CMake module.  The correct
environment variables are passed so that ${CMAKE_INSTALL_MANDIR}
points into ${PKGMANDIR}.
This commit is contained in:
jlam 2017-08-19 00:23:36 +00:00
parent 9c6d82a270
commit 81ef1655f0
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.2 2015/11/04 00:35:17 agc Exp $
$NetBSD: distinfo,v 1.3 2017/08/19 00:23:36 jlam Exp $
SHA1 (ocsync-0.90.4.tar.bz2) = d53a64177addc9fcdd831a0a78786eca25b2588a
RMD160 (ocsync-0.90.4.tar.bz2) = b6208a9c0ae452f16f0ced32c1b5635df06d3b99
SHA512 (ocsync-0.90.4.tar.bz2) = 74bf6b083ae4d4c09e3915d777d916a04ebb19aefb21a5a14a49e2079e02c5c60f1f274aa0cab5c227147883eaf1a5f91b6c0546b818c960cc3575cdcdd93d57
Size (ocsync-0.90.4.tar.bz2) = 4630698 bytes
SHA1 (patch-cmake_Modules_DefineInstallationPaths.cmake) = 785dbb9f7c7f7fb6218470985818145f87f0688c
SHA1 (patch-cmake_Modules_DefineInstallationPaths.cmake) = 1ce32ae21fe331d1ebf5bd5a5941e405a7eb4b06
SHA1 (patch-config_CMakeLists.txt) = b387f38a79d9f85e3f67060a2cb689bb13dd1c28
SHA1 (patch-src_std_c__string.c) = 65927e8f7c222edfde66136a331ae81b0f4fcd4c

View file

@ -1,4 +1,4 @@
$NetBSD: patch-cmake_Modules_DefineInstallationPaths.cmake,v 1.1 2013/11/22 12:01:13 ryoon Exp $
$NetBSD: patch-cmake_Modules_DefineInstallationPaths.cmake,v 1.2 2017/08/19 00:23:36 jlam Exp $
* Fix man pages destination
@ -9,7 +9,7 @@ $NetBSD: patch-cmake_Modules_DefineInstallationPaths.cmake,v 1.1 2013/11/22 12:0
)
SET(MAN_INSTALL_DIR
- "${SHARE_INSTALL_PREFIX}/man"
+ "${CMAKE_INSTALL_PREFIX}/man"
+ "${CMAKE_INSTALL_MANDIR}"
CACHE PATH "The ${APPLICATION_NAME} man install dir (default prefix/man)"
)
SET(INFO_INSTALL_DIR