pkgsrc-ng/math/cgal/patches/patch-manpage-installation
2016-11-18 22:39:22 +01:00

16 lines
638 B
Plaintext

$NetBSD: patch-manpage-installation,v 1.2 2016/04/01 12:17:33 jperkin Exp $
Align manpage installation path with pkgsrc conventions.
--- CMakeLists.txt.orig 2010-09-17 19:00:59.000000000 +0000
+++ CMakeLists.txt
@@ -325,7 +325,7 @@ set ( CGAL_INSTALL_DOC_DIR "share/doc/${
CACHE STRING "The folder where CGAL documentation and license files will be installed, relative to CMAKE_INSTALL_PREFIX"
)
-set ( CGAL_INSTALL_MAN_DIR "share/man/man1"
+set ( CGAL_INSTALL_MAN_DIR "${CMAKE_INSTALL_MANDIR}/man1"
CACHE STRING "The folder where manual pages for CGAL scripts will be installed, relative to CMAKE_INSTALL_PREFIX"
)