pkgsrc/biology/openbabel/patches/patch-doc_CMakeLists.txt
2013-10-09 11:39:28 +00:00

13 lines
407 B
Text

$NetBSD: patch-doc_CMakeLists.txt,v 1.3 2013/10/09 11:39:28 obache Exp $
Fix man path.
--- doc/CMakeLists.txt.orig 2010-07-12 13:05:06.000000000 +0000
+++ doc/CMakeLists.txt
@@ -1,5 +1,5 @@
file(GLOB man_1 *.1)
-install(FILES ${man_1} DESTINATION share/man/man1)
+install(FILES ${man_1} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
OPTION(BUILD_DOCS "Build Open Babel documentation" OFF)
IF(BUILD_DOCS)