git: 94b12d06858b - main - x11/xorg-cf-files: Switch imake to install manpages into share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 04 Feb 2024 19:14:38 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94b12d06858b23c6ccb6cf31e53ddfe2d0adcc10

commit 94b12d06858b23c6ccb6cf31e53ddfe2d0adcc10
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-02-04 10:46:43 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-04 19:13:55 +0000

    x11/xorg-cf-files: Switch imake to install manpages into share/man
    
    Approved by:    portmgr
---
 x11/xorg-cf-files/Makefile               |  1 +
 x11/xorg-cf-files/files/patch-Imake.tmpl | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/x11/xorg-cf-files/Makefile b/x11/xorg-cf-files/Makefile
index af75b8488417..2c82369b7860 100644
--- a/x11/xorg-cf-files/Makefile
+++ b/x11/xorg-cf-files/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xorg-cf-files
 PORTVERSION=	1.0.8
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	x11@FreeBSD.org
diff --git a/x11/xorg-cf-files/files/patch-Imake.tmpl b/x11/xorg-cf-files/files/patch-Imake.tmpl
index 45cca872bcb2..0f4f081713a5 100644
--- a/x11/xorg-cf-files/files/patch-Imake.tmpl
+++ b/x11/xorg-cf-files/files/patch-Imake.tmpl
@@ -1,5 +1,14 @@
---- Imake.tmpl.orig	2021-08-02 01:00:38 UTC
+--- Imake.tmpl.orig	2023-02-22 02:28:43 UTC
 +++ Imake.tmpl
+@@ -890,7 +890,7 @@ TCLIBDIR = TclLibDir
+ #endif
+ #ifndef ManDirectoryRoot
+ #ifdef ProjectRoot
+-#define ManDirectoryRoot Concat(ProjectRoot,/man)
++#define ManDirectoryRoot Concat(ProjectRoot,/share/man)
+ #else
+ #define ManDirectoryRoot SystemManDirectory
+ #endif
 @@ -1823,7 +1823,7 @@ CXXEXTRA_INCLUDES = CplusplusExtraIncludes
         CXXOPTIONS = CplusplusOptions
        CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)