git: f45b77b50c6a - main - misc/toilet: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 20:44:05 UTC
The branch main has been updated by bofh:

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

commit f45b77b50c6ac069dad02ac507d74288b7a962e8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 20:32:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 20:43:20 +0000

    misc/toilet: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 misc/toilet/Makefile  | 3 ++-
 misc/toilet/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/misc/toilet/Makefile b/misc/toilet/Makefile
index 260f020de28e..0d8c7829fa67 100644
--- a/misc/toilet/Makefile
+++ b/misc/toilet/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	toilet
 PORTVERSION=	0.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	misc
 MASTER_SITES=	http://caca.zoy.org/raw-attachment/wiki/toilet/
 
@@ -11,6 +11,7 @@ WWW=		http://caca.zoy.org/wiki/toilet
 LIB_DEPENDS=	libcaca.so:graphics/libcaca
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--program-transform-name=""
 USES=		pkgconfig
 CPPFLAGS+=	-I${LOCALBASE}/include
diff --git a/misc/toilet/pkg-plist b/misc/toilet/pkg-plist
index f262eb129030..6cd774c1059b 100644
--- a/misc/toilet/pkg-plist
+++ b/misc/toilet/pkg-plist
@@ -1,6 +1,6 @@
 bin/caca2tlf
 bin/toilet
-man/man1/toilet.1.gz
+share/man/man1/toilet.1.gz
 share/figlet/ascii12.tlf
 share/figlet/ascii9.tlf
 share/figlet/bigascii12.tlf