[BACK]Return to patch-CMakeLists.txt CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / minetest / patches

File: [cvs.NetBSD.org] / pkgsrc / games / minetest / patches / patch-CMakeLists.txt (download)

Revision 1.1, Sun Jun 30 22:27:22 2019 UTC (2 years, 5 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, HEAD

Add minetest-5.0.1 as games/minetest.

Minetest is an infinite-world block sandbox game engine with support
for survival and crafting.

$NetBSD: patch-CMakeLists.txt,v 1.1 2019/06/30 22:27:22 nia Exp $

Use CMAKE_INSTALL_MANDIR.

--- CMakeLists.txt.orig	2019-03-31 20:57:45.000000000 +0000
+++ CMakeLists.txt
@@ -97,7 +97,7 @@ elseif(UNIX) # Linux, BSD etc
 		set(SHAREDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}")
 		set(BINDIR "${CMAKE_INSTALL_PREFIX}/bin")
 		set(DOCDIR "${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME}")
-		set(MANDIR "${CMAKE_INSTALL_PREFIX}/share/man")
+		set(MANDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}")
 		set(EXAMPLE_CONF_DIR ${DOCDIR})
 		set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")
 		set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/metainfo")