git: 0d1b110d2c28 - main - x11-toolkits/fox17: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 18:08:48 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d1b110d2c288b8d6cbda5ac8299922d49521aa8

commit 0d1b110d2c288b8d6cbda5ac8299922d49521aa8
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-23 16:21:18 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-23 18:08:32 +0000

    x11-toolkits/fox17: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 x11-toolkits/fox17/Makefile  |  2 ++
 x11-toolkits/fox17/pkg-plist | 12 ++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index 50907b299b5a..e14f2d0e2331 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fox
 PORTVERSION=	1.7.84
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	http://fox-toolkit.org/ftp/ \
 		ftp://ftp.fox-toolkit.org/pub/
@@ -22,6 +23,7 @@ USE_XORG=	ice sm x11 xcursor xext xfixes xft xi xrandr xrender
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--with-freetype-include="`pkg-config freetype2 --cflags | sed -e 's|^-I||'`" \
 		--with-freetype-library="`pkg-config freetype2 --libs | sed -e 's|^-L||'`" \
 		--with-opengl=yes \
diff --git a/x11-toolkits/fox17/pkg-plist b/x11-toolkits/fox17/pkg-plist
index f0a4d7a13675..528d49e2dd83 100644
--- a/x11-toolkits/fox17/pkg-plist
+++ b/x11-toolkits/fox17/pkg-plist
@@ -379,9 +379,9 @@ lib/libFOX-%%MAJORVER%%.so
 lib/libFOX-%%MAJORVER%%.so.0
 lib/libFOX-%%MAJORVER%%.so.0.0.84
 libdata/pkgconfig/fox17.pc
-man/man1/ControlPanel-17.1.gz
-%%PORTEXAMPLES%%man/man1/PathFinder-17.1.gz
-%%PORTEXAMPLES%%man/man1/adie-17.1.gz
-%%PORTEXAMPLES%%man/man1/calculator-17.1.gz
-man/man1/reswrap-17.1.gz
-%%PORTEXAMPLES%%man/man1/shutterbug-17.1.gz
+share/man/man1/ControlPanel-17.1.gz
+%%PORTEXAMPLES%%share/man/man1/PathFinder-17.1.gz
+%%PORTEXAMPLES%%share/man/man1/adie-17.1.gz
+%%PORTEXAMPLES%%share/man/man1/calculator-17.1.gz
+share/man/man1/reswrap-17.1.gz
+%%PORTEXAMPLES%%share/man/man1/shutterbug-17.1.gz